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?

1 Answer 1

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.

2
  • 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! May 18, 2017 at 18:27
  • Awesome! Glad I could help
    – Dave G
    May 18, 2017 at 21:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .