Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [DBOPS-825]: MongoDB TLS #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hemanthbsridhar
Copy link
Collaborator

@hemanthbsridhar hemanthbsridhar commented Jan 20, 2025

Given a mongo connection with tls / mtls configuration,
When we connect and run through liquibase command,
we should be able to connect successfully and run the commands.

New libraries added

  • openssl

Changes

  • The script assumes that the build pod will contain /etc/ssl/certs/dbops/root-ca.crt that gets uploaded to the default jvm trustStore ( ${JAVA_HOME}/lib/security/cacerts )
  • The script assumes that the build point will contain
    - /etc/ssl/certs/dbops/client.crt
    - /etc/ssl/certs/dbops/client.key
    that is used to generate /etc/ssl/certs/dbops/client.p12( pkcs12 ) which gets imported to the default jvm keyStore ( ${JAVA_HOME}/lib/security/jssecacerts )

@hemanthbsridhar hemanthbsridhar marked this pull request as draft January 20, 2025 13:00
@hemanthbsridhar hemanthbsridhar force-pushed the feat/DBOPS-825 branch 3 times, most recently from 08323d9 to b69cfbf Compare January 23, 2025 10:53
@hemanthbsridhar hemanthbsridhar marked this pull request as ready for review January 24, 2025 17:05
@hemanthbsridhar hemanthbsridhar changed the title feat: [DBOPS-825]: Added SSL JVM injection feat: [DBOPS-825]: MongoDB TLS Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant