UNCLASSIFIED - NO CUI

Skip to content

Resolve "Additional Certificates causing jira to not launch"

Sam Vongsay requested to merge 81-bugfix-cert-path into main

General MR

Summary

Adding additional certs will cause the init container: import-certs to crash due to ill-defined path in the keytool command due to a change in the container base image.

Used separate branches to create a Secret that contains certs to test the path. The Secret is not meant to be integrated into the main branch.

Relevant logs/screenshots

test-custom-cred branch Original path cannot find the certificate.

log:

kubectl logs jira-0 -c import-certs -n jira
cp: cannot stat '%JAVA_HOME/lib/security/cacerts': No such file or directory

test-custom-cred-2 branch Updated path finds the path.

log:

Adding /tmp/crt/ca.crt to keystore
keytool error: java.lang.Exception: Input not an X.509 certificate

Linked Issue

issue

Upgrade Notices

N/A

Closes #81 (closed)

Merge request reports