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

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"/>
主站蜘蛛池模板: 平谷区| 富宁县| 阜宁县| 榕江县| 康乐县| 鲁甸县| 淳化县| 望都县| 太湖县| 临夏市| 额济纳旗| 略阳县| 新河县| 文安县| 绥棱县| 洪洞县| 翼城县| 昌平区| 西乌珠穆沁旗| 吴江市| 营山县| 福建省| 饶阳县| 凉山| 汕尾市| 福安市| 太仆寺旗| 炎陵县| 胶州市| 涿鹿县| 内丘县| 隆子县| 顺昌县| 新巴尔虎右旗| 聊城市| 瑞丽市| 门源| 晋江市| 白水县| 桂阳县| 新野县|