You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add the exact image (with tag) that you are using
eclipse-temurin:17-jdk-alpine
Please add the version of Docker you are running
containerd://1.6.28
What happened?
We encountered an issue during the renewal process of our internal intermediate certificate. As part of this process, both the old and new certificates are distributed. However, the newer __cacert_entrypoint.sh script generates the alias from the Subject's CN. Since both our old and new intermediate certificates have the same CN, the keytool command is failing with the following error:
keytool error: java.lang.Exception: Certificate not imported, alias <NAME OF INTERMEDIATE CERT> already exists.
Steps to Reproduce:
Distribute both the old and new intermediate certificates, ensuring both have the same Subject CN.
Run the __cacert_entrypoint.sh script, which triggers the keytool command to import the certificates.
Expected Behavior:
The script should handle the import of both certificates, even if they share the same Subject CN, without throwing an error.
Actual Behavior:
The script fails with a keytool error because it tries to create an alias using the Subject CN, which results in a duplicate alias.
Temporary Workaround:
Removing one of the intermediate certificates temporarily resolves the issue. However, we need both certificates to be present during the transition period.
Proposed Solution:
Consider modifying the __cacert_entrypoint.sh script to generate unique aliases, potentially by incorporating additional certificate details (such as the serial number or a timestamp) into the alias.
Additional Information:
Impact:
This issue impacts our certificate renewal process, as we need both the old and new intermediate certificates to coexist until the transition is complete.
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Please add the exact image (with tag) that you are using
eclipse-temurin:17-jdk-alpine
Please add the version of Docker you are running
containerd://1.6.28
What happened?
We encountered an issue during the renewal process of our internal intermediate certificate. As part of this process, both the old and new certificates are distributed. However, the newer __cacert_entrypoint.sh script generates the alias from the Subject's CN. Since both our old and new intermediate certificates have the same CN, the keytool command is failing with the following error:
keytool error: java.lang.Exception: Certificate not imported, alias <NAME OF INTERMEDIATE CERT> already exists.
Steps to Reproduce:
Distribute both the old and new intermediate certificates, ensuring both have the same Subject CN.
Run the __cacert_entrypoint.sh script, which triggers the keytool command to import the certificates.
Expected Behavior:
The script should handle the import of both certificates, even if they share the same Subject CN, without throwing an error.
Actual Behavior:
The script fails with a keytool error because it tries to create an alias using the Subject CN, which results in a duplicate alias.
Temporary Workaround:
Removing one of the intermediate certificates temporarily resolves the issue. However, we need both certificates to be present during the transition period.
Proposed Solution:
Consider modifying the __cacert_entrypoint.sh script to generate unique aliases, potentially by incorporating additional certificate details (such as the serial number or a timestamp) into the alias.
Additional Information:
Impact:
This issue impacts our certificate renewal process, as we need both the old and new intermediate certificates to coexist until the transition is complete.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: