0

I am trying to configure Tomcat to serve the same content to two different domains with different SSL certificates but the same IP address. I have created two connectors however even though the domain is different I am getting the following error on startup:

Caused by: java.net.BindException: Address already in use

Is it even possible to allow tomcat to serve two domains, with different SSL certificates on the same IP address?

binarylegit
  • 127
  • 1
  • 4

1 Answers1

0

According to the docs here Tomcat 8.5 supports SNI

Alternatively, you could add subject alternative name extensions for the additional host names you want to cover.

Dave G
  • 146
  • 6
  • I was using Tomcat 7 and after a bunch of research found the option for SNI configuration. After upgrading to Tomcat 8.5 and adding multiple SSLHostConfig's for different hostnames it works perfectly. Thanks for the help! – binarylegit May 18 '17 at 18:27
  • Awesome! Glad I could help – Dave G May 18 '17 at 21:04