-
Notifications
You must be signed in to change notification settings - Fork 78
Support for SSL using owin hosting #18
Comments
In that time I written it, there was no support for it in Microsoft.Owin.Hosting - there was no way to pass Certificate? Is it now possible? |
From discussion thread on OWIN, there's a willingness to go ahead with this, but no standard update. Maybe you could create a custom/extension property in StartupOptions.Settings to avoid the Builder's boilerplate?
It's not ideal by any means, but it would give most people most of what they want. For advanced scenarios we could still use Builder. |
If PFX, I would also need password, so 2 properties. Or I need instance of X509Certificate. |
Right, forgot about the password. The "certificate" property, I guess I'd set it in my Startup.Configuration() on an IAppBuilder instance? |
I don't know if it is possible to set in Startup.Configuration, but it could be. At the time it was just simple proposal how it could work, it was never tested by me. |
What's the discussion thread on OWIN? I've not seen anything? |
https://groups.google.com/forum/#!searchin/net-http-abstractions/SSL/net-http-abstractions/-icGvmayRAY/8ku-YSlH2C8J |
According to sample code, it seems that SSL support requires Nowin server to be instantiated directly, lacking the support for Microsoft.Owin.Hosting.
The text was updated successfully, but these errors were encountered: