HowTo setup Tomcat serving two SSL Certificates using SNI?

后端 未结 3 949
攒了一身酷
攒了一身酷 2021-01-05 01:03

According to these two answers [1] [2] it\'s possible to have two SSL certificates serving from the same Apache Tomcat using Server Name Indication (SNI).

My question

3条回答
  •  梦谈多话
    2021-01-05 01:24

    You could setup multiple ssl certificates using the below configuration:

    
            
                
            
            
                
            
        
    

    Tweak the protocol according to your necessity. You could also configure using openssl instead of jsse. Please refer https://tomcat.apache.org/tomcat-8.5-doc/config/http.html#SSL_Support_-_SSLHostConfig for further assistance

    Also, defaultSSLHostConfigName is very important otherwise it wouldn't work. Select any one domain as default.

提交回复
热议问题