Well i have a web page hosted in a IIS 7.0 now the problem here is that we have many different domains that can be used to visit it, but we only have a cert(SSL) for a handful of them.
When you visit the login page i would like to change to https if they use a domain where we do have a ssl cert..
But is there any way to determine if there is a ssl cert for that domain or not?
If you’re going to consider doing the extra work of querying your certificate store (for a “handful”), why not simplify and compare
Request.Urlagainst a list of domains that you know you have certificates for?