0

I need to programmatically determine the TLS features of a client and underlying host based on Javascript.

What webserver instance (apache, IIS, etc), allows for different configurations of SSL ciphers to be loaded under different hostnames?

In this use-case, all clients support SNI. The only difference is that I want to make some pages read-only under old ciphers, and full access if using a modern browser.

My plan is to ask everyone to go to app.example.com, which will make a GET request to "legacy.example.com" and also "secure.example.com". If the secure connection succeeds, then we will proceed to that endpoint via a javascript induced redirect.

What webserver technology allows for this, and if I can do it under IIS, that is preferred.

1
  • AFAIK, IIS does not support different ciphers for different sites, it's a machine wide change. Apr 19, 2017 at 2:33

1 Answer 1

1

To answer the IIS portion of your question:

By default, Windows has only one set of Ciphers and Protocols supported for ALL server operations (and another for all client operations). So, for IIS, all websites on the server support the same Ciphers and Protocols.

The currently enabled ciphers are stored in the registry. So, you could query the info from the registry.

You can also use IIS Crypto (https://www.nartac.com/Products/IISCrypto) to see the currently enabled Ciphers and Protocols.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .