[TOMCAT 9] Utiliser 2 certificats SSL avec SSLHostConfig
Bonjour, j'ai 2 certificats SSL soit 2 keystore, j'ai installé spécialement tomcat 9 pour pouvoir utiliser la balise SSLHostConfig.
J'ai 5 domaines sur le premier certificat quand je mets les 5 SSLHostConfig relatif a ces domaines (avec le premier certificat) ça marche. Mais j'ai aussi 4 domaines sur le 2° certificat, c'est quand j'ajoute ces 4 nouveau domaines que mes sites deviennent inaccessible :
mon server.xml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig hostName="www.hardibopj.com">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="www.tagdirectory.net">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="www.xn--kzako-bsa.com">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="www.xn--tltravail-b4ab.com">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="www.xn--changedeliens-9gb.com">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="en.tagdirectory.net">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat2"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="www.retrogeekzone.com">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat2"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="en.retrogeekzone.com">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat2"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
<SSLHostConfig hostName="www.troc-livres-informatique.com">
<Certificate certificateKeystoreFile="/opt/tomcat9/tomcat2"
certificateKeystorePassword="xxxx" type="RSA"/>
</SSLHostConfig>
</Connector> |
Merci.