Closed MCatherine1994 closed 6 months ago
service desk ticket created https://apps.nrs.gov.bc.ca/int/jira/servicedesk/customer/portal/1/SD-110002
Quick summary of the process:
Detailed Documentation:
git clone https://github.com/bcgov/quickstart-openshift-helpers.git
cd cert-setup
sh csr_generator.sh
and provide our domain fom-test.nrs.gov.bc.ca
in the popup questionsfom-test.nrs.gov.bc.ca.csr
and fom-test.nrs.gov.bc.ca.key
fom-test.nrs.gov.bc.ca.txt
and L1K Chain.txt
fom-test.nrs.gov.bc.ca.cert
and L1K_Chain.ca-cert
. You will need the private key file as well (this was generated when you created the CSR file)oc project [namespace]
sh install_cert.sh
, and provide the domain fom-test.nrs.gov.bc.ca
and service name (can be found in the namespace under Administration view -> Networking -> Services)fom-test.nrs.gov.bc.ca.cert
to the Certificate section, fom-test.nrs.gov.bc.ca.key
to the Key section, and L1K_Chain.ca-cert
to the CA certificate sectionoc project [namespace]
sh install_cert.sh
, and provide the domain fom-test.nrs.gov.bc.ca
, service name fom-test-public
and the path. Or you can also run this command directly, for example
"""
oc create route edge --service=fom-test-public --cert=fom-test.nrs.gov.bc.ca.cert --key=fom-test.nrs.gov.bc.ca.key --ca-cert=new_cert.ca-cert --hostname=fom-test.nrs.gov.bc.ca --path=/public fom-test-public
"""Note: To run the script on Mac, comment out the lines where it has ${ACCEPT^}
. It's just trying to check capital letter "Y", just type "y" for all the questions while running the script
Timeline for FOM TEST certificate renew 2024:
fom-test.nrs.gov.bc.ca.txt
and L1K Chain.txt
fom-test-api
and fom-test-admin
routes, got certificate updated correctlyfom-test-public
route, and created a new fom-test-public
route from oc command with the new certificate, also got certificate updated correctly, both way worksGot email from CITZ Identity Management Solutions CITZ:EX IMS@gov.bc.ca, send them the CSR file again.
FOM TEST certificate is renewed for our Api, Public and Admin site:
Removed the certbot cronjob from Openshift FOM TEST namespace as it's not working anymore.
Describe the task Our TEST certificate will expire on June 1st, 2024. Ticket for renew we done last year for PROD https://github.com/bcgov/nr-fom/issues/421. Since the Certbot is not working anymore, we might not get notification, created this ticket to remind us. We need to send service desk a ticket to renew the certificate, and write Derek a ticket to help us install the new one.
Acceptance Criteria
Additional context