I am writing a service who needs to establish the TLS based on the hostname in the header of the request of the client.
Let’s say I get a Http request with hostname ‘x’ then my service should be able to establish the TLS by presenting the certificate of ‘x’. There could be another request from the other device’s client to my service in which the request has header with the hostname as ‘y’
How do I make sure that this time the service uses the certificate of ‘y’ to establish the TLS with the client
Currently, I’m able to setup TLS with one cert only.
Be First to Comment