Load different certificates depand on request url - WeOnlyDo Discussion board

Load different certificates depand on request url (wodWebServer / wodWebServer.NET)

by Jeremy, Friday, December 05, 2014, 05:42 (3402 days ago)

Does wodWebServer.Net support loading different certificates depend on request url?

There are 2 web applications hosted on wodWebServer.Net.
Each one has it's own domain/url with different certificates.

How could I assign the different certificate for each application.

Thanks.

Load different certificates depand on request url

by Jasmine, Friday, December 05, 2014, 07:19 (3402 days ago) @ Jeremy

Hi Jeremy.

That is not possible, since SSL encryption is made before URL is sent by the client, so server doesn't know yet which URL will be requested.

If you want to host multiple websites and each of them to have their own certificate, you must use separate IP addresses.

Kind regards,
Jasmine.

Load different certificates depand on request url

by Jeremy, Friday, December 05, 2014, 07:51 (3402 days ago) @ Jasmine

Hi Jasmine,

Using separate IP makes sense. :-)
Maybe this is the best solution.

I know SSL encryption is made before URL is sent by the client.
Do you know why IIS could assign different certificates for each web site?

Thanks,
Jeremy

Load different certificates depand on request url

by wodSupport, Friday, December 05, 2014, 10:13 (3402 days ago) @ Jeremy

Jeremy,

IIS8 uses new TLS extension called SNI (Server Name Identification). From what I've read, it is not supported in .NET framework through exposed API, so we cannot implement it in wodWebServer.NET at this time.

Best regards,
Kreso

Load different certificates depand on request url

by Jeremy, Friday, December 05, 2014, 23:59 (3401 days ago) @ wodSupport

Hi Kreso,
Thanks for your information.
I hope the feature will be implemented in the future.

Thanks,
Jeremy