Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jira throught ssl with apache

Marcin_Beczynski May 28, 2018

Good Morning,

I have a problem with running Jira using SSL and Apache, I try to configure it using instruction but without luck, from log Jira start on proper port 443 but at website show's internal error  also on ip adres the same 

Bellow my configuration files:

<VirtualHost jira.example.com:443>
ServerName www.jira.example.com
ServerAlias jira.example.com
DocumentRoot /opt/atlassian/jira
ErrorLog /var/log/httpd/jira/error.log
CustomLog /var/log/httpd/jira/requests.log combined
# otherwise act as a proxy to jira which is running on port 8080
#<Proxy *>
# Order deny,allow
# Allow from all
#</Proxy>
#ProxyRequests Off
#ProxyPreserveHost On
#SSLProxyEngine On
#SSLEngine on
#SSLCertificateFile /etc/ssl/example.crt
#SSLCertificateKeyFile /etc/ssl/example.key
#ProxyPass / https://jira.example.com:443/
#ProxyPassReverse / https://jira.example.com:443/
</VirtualHost>
<VirtualHost jira.example.com:80>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>

  <Connector port="8080"
maxThreads="150"
minSpareThreads="25"
connectionTimeout="20000"
enableLookups="false"
maxHttpHeaderSize="8192"
protocol="org.apache.coyote.http11.Http11NioProtocol"
useBodyEncodingForURI="true"
redirectPort="8443"
acceptCount="100"
disableUploadTimeout="true"
proxyName="jira.example.com"
proxyPort="443"
bindOnInit="false"
scheme="https"
secure="true"/>

 

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxHttpHeaderSize="8192" SSLEnabled="true"
maxThreads="150" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" useBodyEncodingForURI="true"
keystoreFile="/etc/ssl/example.cert" keystorePass="/etc/ssl/example.key"/>

 

Thanks in advice for all hint

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
May 28, 2018

Hi!

 

May I know SSL encryption do you want to do on Tomcat or on Apache? 

1. If you want on Apache, your connect  Connector port="8443" is not  Read this instruction correct. https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html

2. If you want on Tomcat, read this https://confluence.atlassian.com/adminjiraserver071/running-jira-applications-over-ssl-or-https-802593051.html But you need to think for what you will need the Apache. 

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events