Jira/Confluence配置Apache SSL 證書


1. 申請證書

生成私鑰

openssl genrsa -out server.key 2048

生成request文件

openssl req -new -key server.key -out server.csr

使用request申請證書

2. 安裝mod_ssl模塊

yum install mod_ssl

3. 修改/etc/httpd/conf.d/ssl.conf文件

指定對應的證書、私鑰、證書鏈。

4. 修改Jira配置文件

/opt/Atlassian/jira/conf/server.xml

啟用Apache or Nginx over HTTPS的connector並且修改ProxyName,注釋其他的connector。

**5. 修改Confluence配置文件 **

/opt/Atlassian/confluence/conf/server.xml

啟用Apache or Nginx over HTTPS的connector並且修改ProxyName,注釋其他的connector

6. Rewrite URL

打開/etc/httpd/conf/http.conf

添加以下內容

# Rewrite URL

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

7. 修改Jira/Confluence Base URL


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM