tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua McDowell <i...@imcdowell.com>
Subject Re: Multiple SSL config with single IP on Tomcat 8.5.4
Date Wed, 03 Aug 2016 22:51:50 GMT
  Don’t shoot at me..

 But why aren’t you fronting Tomcat with Apache?  I am asking because i am curious of others
views.

 J
> On Aug 3, 2016, at 5:05 PM, Kent Smotherman <kentsmotherman@gmail.com> wrote:
> 
> I'm trying to get multiple SSL certs configured on Tomcat 8.5 with a single
> IP. My relevant server.xml looks like this:
> 
> <Connector port="9090" protocol="HTTP/1.1"
>           connectionTimeout="20000"
>           URIEncoding="UTF-8"
>           redirectPort="9443" />
> <Connector port="9443" protocol="HTTP/1.1" SSLEnabled="true"
>           maxThreads="150" scheme="https" secure="true" hostName="
> firstnationalsculpturepark.com"
>           clientAuth="false" sslProtocol="TLS" defaultSSLHostConfigName="
> firstnationalsculpturepark.com"
>> 
>    <SSLHostConfig hostname="firstnationalsculpturepark.com">
>        <Certificate
>                certificateKeystoreFile="/apache/conf/twinfeats.keystore"
>               certificateKeystorePassword="xxxxxxx"
>               certificateKeyAlias="firstnationalsculpturepark"
>        />
>     </SSLHostConfig>
> </Connector>
> 
> This gives me this error on startup:
> 
> 03-Aug-2016 16:47:04.541 WARNING [main]
> org.apache.catalina.startup.SetAllPropertiesRule.begin
> [SetAllPropertiesRule]{Server/Service/Connector} Setting property
> 'hostName' to 'firstnationalsculpturepark.com' did not find a matching
> property.
> 
> I'm not sure what I'm doing wrong, as the hostName property is indicated in
> the Tomcat 8.5 docs as an attribute for SSLHostConfig. (The above error
> then causes an error trying to find the default keystore file since it
> isn't using the one I've specified, but that is expected.)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message