Forums

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

Jira over https does not work

Karim Ennassiri October 17, 2018

I'm trying to configure Jira Software over Https. It is working until a certain level. 

To explain here is first of all a picture of my Jira interface when I call my Jira this way 

 https://jira.A.domain.com (PS : it is a sub-sub  domain )

Capture du 2018-10-17 22-32-40.png

When I call it from this url : https://jira.A.domain.com:8080/8081 never work

http://domain.com:8081 working normally

Here is the server.xml file : 

<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.A.domain.com" proxyPort="443"/>

<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false"
maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8081" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"/>

Here is my Vhost file :

<VirtualHost *:80>
ServerName jira.A.domain.com

RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
</VirtualHost>

<VirtualHost *:443>
ServerName jira.A.domain.com

SSLEngine On
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
SSLProxyEngine On

ServerSignature Off

ProxyRequests Off

<Proxy *>
Require all granted
</Proxy>

ProxyPreserveHost On
ProxyPass / http://domain.com:8081
ProxyPassReverse / http://domain.com:8081

</VirtualHost>
 

 I'am feeling stucked, any help will be welcomed

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2018

Your proxy says

/ http://domain.com:8081

So that should make it available on 

 https://jira.A.domain.com

Karim Ennassiri October 17, 2018

Should I change it to https://jira.A.domain.com ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2018

Change what?  The url you are using in the browser, yes.  Not the proxy.

Karim Ennassiri October 17, 2018

It is ok now, but i have a new problem of dashbord display ? 

Capture du 2018-10-17 23-49-13.png

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2018

You've missed the instructions about amending the server.xml in the docs.  See https://confluence.atlassian.com/adminjiraserver071/integrating-jira-with-apache-using-ssl-802593043.html 

Karim Ennassiri October 18, 2018

Thanks !

Suggest an answer

Log in or Sign up to answer