/ Published in: XML
'keytool' can be used to generate the certificate.
keystore is setup for server certificate.
truststore is setup for client certificate validation. To enable the client certificate validation 'clienAuth=true'.
Add the code to server.xml
keystore is setup for server certificate.
truststore is setup for client certificate validation. To enable the client certificate validation 'clienAuth=true'.
Add the code to server.xml
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<Connector port="8443" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" disableUploadTimeout="true" acceptCount="100" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreType="PKCS12" keystoreFile="C:/keystore.p12" keystorePass="password" truststoreType="PKCS12" truststoreFile="C:/keystore.p12" truststorePass="password" clientAuth="true" sslProtocol="TLS"/>