Hello Atlassian Community,
Before diving into problem, here are the details of Jira setup that I have,
With this setup, Jira application starts without an issue and can be accessed at 'qa-jira.com'.
But issue is gadgets are not properly getting loaded and internal API calls executed via scripts returns 'Unable to get local issuer certificate'.
Also when I test it with openssl s_client -connect qa-jira.com:443 returns 'verify error:num=20:unable to get local issuer certificate'
Do I have to make any additional configuration in Jira to get this 'Self Signed' certificate to be trusted in Jira? I am not sure.
Your help or suggestions to get more insights on the issue would be very much appreciated.
Thank you.
Have you tried importing the certificate into Java's truststore that Jira utilizes?
Kindly refer to the steps below for importing the cert into the truststore:
https://confluence.atlassian.com/kb/how-to-import-a-public-ssl-certificate-into-a-jvm-867025849.html
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Victor Law
Thank you for your response and the information shared.
And I have already tried this. I have imported ssl-cert into jvm truststore. The issue still persists.
Apart from this, I tried below,
But it is still not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why did you configure two connectors in the Server.xml? This is where I see the problem. Only 443 with 8443 and proxy name should be active here.
The diversion must take place in Nginx. So that all requests to jira are only ever made via 443.
https://vsys.host/how-to/how-to-redirect-http-to-https-in-nginx
Best Regards
Ralf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply.
I configured 2 connector because one for handling traffic over HTTPs and another for redirecting HTTP --> HTTPs.
But as per your suggestion, i modified 'server.xml' with only one connector 443 with 8443 port for HTTPs and removed another connector.
As per link to redirect http-->https in nginx, tried to configured annotations such as 'ssl-redirect', 'force-ssl-redirect', but issue still persists. Gadgets are not getting loaded and API calls still shows 'unable to get local issuer certificate'
I am not sure, where the things are wrong? At Ingress level (k8s) or at webserver (Jira side) level?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I followed this documentation for SSL certificate configuration in Jira.
https://thejiraguy.com/2021/10/14/adding-ssl-to-jira/
And I am facing the SSL certificate issue...Is there anything missing in this document? I am not sure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.