I'm following these directions, using Portecle
https://confluence.atlassian.com/adminjiraserver/running-jira-applications-over-ssl-or-https-938847764.html
I'm using certs from a well-known CA, in the cacerts truststore in the Jira JRE install.
It came time to renew a certificate. After a first failure to import the new cert, I started over, with a fresh keystore, generated the CSR, and got the cert reissued. I imported the intermediate cert into the keystore. It was not trusted, and I let it in using the prompts. Upon using 'Import CA Reply' on the keypair (per directions) I get the above.
This is on Jira 8.20.1, using mysql57. This was a working installation until installing the new cert. The trust problem suggests the cert authority is not recognized but it's in cacerts. JAVA_HOME is set to the JRE in the Jira install and PATH points to the JRE's bin. Portecle should be using the correct JRE. No others are installed actually, on a dedicated machine. This is not a new problem, but other discussions aren't useful. Thanks for any comments
There is a Portecle setting not documented in the instructions, "use cacerts truststore", which you can set when you import CA reply. That cleared up the trust problem.
Something else noteworthy in this area. The Jira config.bat does not expose the useSSL setting for the JDBC URL. I turned SSL on and got a cascade of errors in the logs, a Jira plugin could not find the mysql driver, and a repeated WARNING about SSL betw Jira and mysql not being configured. I googled the warning and learned of the useSSL setting, and edited dbconfig.xml to make it false. The logs cleared up and Jira ran okay. Before that it would start but error out at login. This setting is not exposed by config.bat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, when you turn on SSL, you must configure "relaxed escape characters" on the <connector> in server.xml. It's in the Jira doc separately, not with SSL installation. All this applies to 8.20.1 Jira. Don't know about later
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Enabling the Use CA Certs Keystore got me past the 'Could not establish trust for the CA reply. The import cannot proceed' error but returned multiple error so I still can't import the certificate. Any idea what I need to do to get past this?
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.