官术网_书友最值得收藏!

How it works...

We first created a new Java KeyStore repository for Jira to store its own SSL certificate with Java's keytool utility. During this step, you are prompted to provide information about the store as well as a password to access the KeyStore repository.

Do not lose the password to the KeyStore repository.

After we created the KeyStore repository, we imported the certificate (and then enabled an additional connector to listen for HTTPS connections) by uncommenting the connector XML tag. We also added new attributes to the tag so that Tomcat knows where our new KeyStore repository 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 a more common port, 443, instead of the default port, 8443, and your final XML snippet will look something similar to 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"/>
主站蜘蛛池模板: 布尔津县| 宁乡县| 娱乐| 福贡县| 涞源县| 崇仁县| 田林县| 措勤县| 桓仁| 清河县| 敖汉旗| 固安县| 门头沟区| 扎赉特旗| 望奎县| 闽清县| 崇义县| 通化市| 门头沟区| 葵青区| 嵩明县| 资溪县| 腾冲县| 海门市| 台东市| 汝州市| 安国市| 彭阳县| 无为县| 古浪县| 赣州市| 丹棱县| 杭锦旗| 旌德县| 吉安县| 灵川县| 普洱| 长泰县| 祥云县| 疏附县| 调兵山市|