installing ssl sertificate to tomcat

IMG_2933

keytool -import -trustcacerts -alias server -file your_site_name.crt -keystore your_site_name.ks

Open the Tomcat server.xml

<Connector port="443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" SSLEnabled="true" clientAuth="false" sslProtocol="TLS" keyAlias="server" keystoreFile="/home/user_name/your_site_name.ks" keypass="your_keystore_password" />

0 Comments

Leave a reply

Your email address will not be published. Required fields are marked *

*