fix: enhance CA certificate handling in entrypoint script#40933
fix: enhance CA certificate handling in entrypoint script#40933pratapaprasanna merged 5 commits intoreleasefrom
Conversation
Updated the entrypoint script to improve the detection and processing of custom CA certificates. The script now correctly identifies both regular files and symbolic links with a '.crt' extension, ensuring that all relevant certificates are included in the keystore. This change enhances the robustness of the CA certificate setup process.
WalkthroughThe Docker entrypoint script's Changes
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Refactored the entrypoint script to enhance the handling of custom CA certificates. The script now creates a temporary directory for processing certificates, splits bundled certificates, and ensures all relevant files are imported into the keystore. This change improves the robustness and clarity of the CA certificate setup process.
…ypoint script Enhanced the entrypoint script to notify users if '.pem' files are found in the 'ca-certs' folder, prompting them to rename these files to '.crt' for proper processing. This change improves user guidance and ensures correct handling of custom CA certificates.
|
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/15919732185. |
|
Deploy-Preview-URL: https://ce-40933.dp.appsmith.com |
Updated the entrypoint script to improve the processing of CA certificates. The new implementation splits both bundled and individual .crt files into separate certificates, ensuring better organization and handling of custom CA certificates. This change enhances the robustness of the certificate setup process.
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/15923438419. |
|
Deploy-Preview-URL: https://ce-40933.dp.appsmith.com |
Updated the entrypoint script to enhance the detection of custom CA certificates. The logic now correctly identifies both regular files and symbolic links with a '.crt' extension, improving the robustness of the CA certificate setup process.
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/16020953624. |
|
Deploy-Preview-URL: https://ce-40933.dp.appsmith.com |
Updated the entrypoint script to improve the detection and processing of custom CA certificates. The script now correctly identifies both regular files and symbolic links with a '.crt' extension, ensuring that all relevant certificates are included in the keystore. This change enhances the robustness of the CA certificate setup process.
Description
Tip
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.
Fixes #
Issue Numberor
Fixes
Issue URLWarning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags=""
🔍 Cypress test results
Warning
Tests have not run on the HEAD 534af3a yet
Wed, 02 Jul 2025 09:06:55 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
.crtfiles are recognized and imported.