To import a new SSL certificate into the AC4 environment cacerts, follow the steps below:
1. Ensure that the certificate file is ready/downloaded on your local machine.
2. Log in to the AC4 backend (Microservice) using Lens or the command prompt.
3. Take a backup of the existing cacerts file from the location /shared/truststore/cacerts to your local machine by using the following command:
kubectl cp namespace/Pod-name:/shared/truststore/cacerts /bakup_cacerts -n <namespace>
4. After taking the backup of the existing cacerts, copy the downloaded certificate file from your local machine to the /shared/truststore location using the following command:
kubectl cp /current_directory_where_cert_is_located namespace/Pod-name:/shared/truststore -n <namespace>
5. Once the certificate file is placed in the /shared/truststore location, run the following command to add it to the cacerts:
keytool -importcert -trustcacerts -alias adeptia_cert -file STAR_adeptia_com.crt -keystore cacerts
6. After the command executes successfully, verify the certificate entry using any third-party keytool explorer tool to confirm that the entry has been added.
Comments
0 comments
Please sign in to leave a comment.