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

How to do it...

Perform the following steps to import an SSL certificate:

  1. Open up a command window and go to the directory where the certificate file resides.
  2. Generate a Java KeyStore (JKS) for Jira by running the keytool -genkey -alias jira -keyalg RSA -keystore $JIRA_HOME/jira.jks command.
  3. Import the certificate into the KeyStore repository by running the keytool -import -alias jira -keystore $JIRA_HOME/jira.jks -file file.crt command, where file.crt is the certificate file.
  4. Open the server.xml file located in the JIRA_INSTALL/conf directory in a text editor.
  1. Locate and uncomment the following XML configuration snippet:
<Connector port="8443" 
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"/>
  1. Add a few new attributes to the Connector tag and save the file, as follows:
keystoreFile="PATH_TO_YOUR_KEYSTORE" 
keystorePass="PASSWORD_FOR_YOUR_KEYSTORE" 
keyAlias="jira" 
keystoreType="JKS" 
  1. Restart Jira to apply the changes.
主站蜘蛛池模板: 新民市| 水富县| 利津县| 泗阳县| 阿勒泰市| 托里县| 翼城县| 长汀县| 明水县| 南皮县| 兴隆县| 蓝山县| 同仁县| 波密县| 龙胜| 渭源县| 遂宁市| 德格县| 黄浦区| 上栗县| 邵武市| 修水县| 海原县| 望江县| 沙雅县| 瑞安市| 昭觉县| 正镶白旗| 玛沁县| 邢台县| 中江县| 锡林郭勒盟| 扎鲁特旗| 绥江县| 文昌市| 长宁区| 十堰市| 格尔木市| 连江县| 宾川县| 武清区|