Information Technology Reference
In-Depth Information
How it works…
We first created a new Java KeyStore for JIRA to store its own SSL certificate with Java's
keytool utility. During this step, you are prompted to provide information about the certific-
ate as well as a password to access KeyStore.
Note
Do not lose the password to KeyStore.
After we created KeyStore, we imported the certificate and then enabled an additional con-
nector to listen for HTTPS connections by uncommenting the connector XML tag. We also
added new attributes to the tag so that Tomcat will know where our new KeyStore is and
how to access it to get to the certificate.
You can also change the port number for the connector if you want to run HTTPS on the
more common port 443 instead of the default 8443, and your final XML snippet will look
something like the following:
<Connector port="443" maxHttpHeaderSize="8192"
SSLEnabled="true"maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"enableLookups="false"
disableUploadTimeout="true"acceptCount="100" scheme="https"
secure="true"clientAuth="false" sslProtocol="TLS"
useBodyEncodingForURI="true" keystoreFile="/opt/jira/
jira.jks" keystorePass="changeme" keyAlias="jira"
keystoreType="JKS"/>
Search WWH ::




Custom Search