I am trying to configure tomcat to handle SSL connections by providing a keystore with a server certificate and a trusted store for trusted client certificates. The configuration of the connector is as follows:
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="200"
SSLEnabled="true"
scheme="https"
secure="true"
keystoreFile="/server_certs/webserver_certificate.p12"
keystorePass="password"
keystoreType="pkcs12"
trustoreFile="/server_cert/truststore_dev.jks"
trustorePass="changeit"
trustoreType="jks"
clientAuth="true"
sslProtocol="TLS" />
The problem with the above is that I get the following warnings in the logs:
"WARNING: [SetAllPropertiesRule] {Server / Service / Connector} Property value trus toreFile 'to' C: \ Apps \ apache \ apache-tomcat-7.0.41 \ server_certs \ truststore_dev.jk s' did not find a matching property.
What I think means that a trusted store is not taken into account. When I try to access a web page, it complains that the client does not have the certificates required by the server.
- , ? , trustoreFile, truststorePass truststoreType Connector.
.