Hello
I have tried configure jira with apache and ssl but fail with error what is not descibed at any instruction
Server.xml Conector :
<Connector acceptCount="100"
connectionTimeout="20000"
disableUploadTimeout="true"
enableLookups="false"
maxHttpHeaderSize="8192"
maxThreads="150"
minSpareThreads="25" port="8080"
protocol="HTTP/1.1"
redirectPort="8443"
useBodyEncodingForURI="true"
scheme="https"
proxyName="jira.example.com"
proxyPort="443"/>
apache.config:
<VirtualHost jira.example.com:80>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
<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
ProxyPass / http://jira.example.com:8080/
ProxyPassReverse / http://jira.example.com:8080/
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/jira.example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/jira.example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/jira.example.com/chain.pem
</VirtualHost>
ssl.conf:
Listen 443 https
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
SSLSessionCache shmcb:/run/httpd/sslcache(512000)
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
DocumentRoot "/var/www/jira.example.com"
ServerName www.jira.example.com:443
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-5]" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
ServerAlias www.jira.example.com
SSLCertificateFile /etc/letsencrypt/live/jira.example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/jira.example.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/jira.example.com/chain.pem
</VirtualHost>
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains"
Header always set X-Frame-Options DENY
Header always set X-Content-Type-Options nosniff
SSLCompression off
SSLUseStapling on
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
Hi Ivan,
From looking at your configuration options, the only concern I have to understand what specific address you are trying to use to access this Jira site:
www.jira.example.com or jira.example.com ?
I see there is a serveralias there, but my concern is to understand what URL the end user uses here. It is possible that the Tomcat configuration in Jira would need to be tweaked to understand this slightly different URL is being used for the site instead or just jira.example.com
Can you share with us more details about the specific error you are getting here?
Are you following an existing KB guide? Could you let me know which one you're using? I would recommend Securing your Atlassian applications with Apache using SSL
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.