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

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.
主站蜘蛛池模板: 隆尧县| 耒阳市| 闻喜县| 大悟县| 安陆市| 大石桥市| 孝感市| 苍山县| 乡宁县| 通海县| 察隅县| 卢氏县| 翁牛特旗| 绿春县| 衡东县| 城步| 无为县| 武威市| 永定县| 定西市| 柳林县| 江陵县| 吴旗县| 苏尼特右旗| 巨鹿县| 盱眙县| 广东省| 乌鲁木齐县| 岱山县| 垫江县| 平利县| 甘孜| 濉溪县| 耒阳市| 巩义市| 库车县| 红桥区| 法库县| 讷河市| 海林市| 阿城市|