It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Core activity stream gadget not working after installing SSL

Hey i have my jira core installed on my aws ec2-instance centos, earlier i used it without ssl so everything used to work fine but after installing ssl my activity stream gadget is not working and i have a error that says "Jira is reporting that it is using the URL scheme 'http', which does not match the scheme used to run these diagnostics, 'https'. This is known to cause Jira to construct URLs using an incorrect hostname, which will result in errors in the dashboard, among other issues."

 

my server.xml file have 

<Connector port="8085" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="false" scheme="https"
proxyName="jira.mydomain.com" proxyPort="443"/>

 

and in my apace setting for virtualhost are 

ServerName jira.mydomain.com
ProxyRequests Off

<Proxy *>
Require all granted
</Proxy>

ProxyPass / http://jira.mydomain.com:8085/
ProxyPassReverse / http://jira.mydomain.com:8085/
ProxyPreserveHost On

SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/uspl.crt
SSLCertificateKeyFile /etc/pki/tls/private/uspl.key
SSLCACertificateFile /etc/pki/tls/certs/uspl.ca-bundle

</VirtualHost>

<VirtualHost *:8085>
ServerName jira.mydomain.com
Redirect Permanent / https://jira.mydomain.com/
</VirtualHost>


<VirtualHost *:80>
ServerName jira.mydomain.com
Redirect Permanent / https://jira.mydomain.com/
</VirtualHost>

1 answer

Have you tried importing the ssl certificates in to jira keystore ? 

Try that - reboot JIRA and check your gadgets once again.

i have laready done this to import ssl cert to keystore.. and it resulted in success 

openssl s_client -connect jira.yourdomain.com:443 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > public.crt
sudo /opt/atlassian/jira/jre/bin/keytool -import -alias jira.yourdomain.com -keystore /opt/atlassian/jira/jre/lib/security/cacerts -file public.crt

  

however this doesnt resolve my issue

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

273 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you