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="[]|{}^\`"<>"
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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.