I tried to start a nancyfx webserver in self hosting mode. Everything works fine when executing the following code:
public static void Main(string[] args)
{
I've got it working. I've found it useful to have a number of checks in the process.
CHECK1 - Was the certificate added correctly? (using Certificate Management MMC snap-in correctly):
certutil -store MY
CHECK2 - Was the url added to urlacl list in netsh correctly? (using netsh http add urlacl
)?:
netsh http show urlacl
CHECK3 - Was ssl bound to urlacl ? (using netsh http add sslcert
)
netsh http show sslcert
Hope it helps. I created the above after 6 hours of head banging. It now works!