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

Add a section on generating a client cert. #2051

Merged
merged 1 commit into from
Mar 8, 2025
Merged

Add a section on generating a client cert. #2051

merged 1 commit into from
Mar 8, 2025

Conversation

starksm64
Copy link
Contributor

Fixes Issue
Fixes #1967

Related #1967

Signed-off-by: Scott M Stark <starksm@starkinternational.com>
Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 365 days
for: CN=CTS, OU=Eclipse Foundation, O=Jakarta EE

keytool -exportcert -keystore clientcert.p12 -alias cts -keypass changeit -storepass changeit -file cts_cert.cer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just thinking out loud a bit here. Should we mention something about how this is used? TBH I'm not quite sure, but IIRC you have to do something with server trust store or server cert. I need to brush up on this lol

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will have to use the server's docs for importing the client cert into its truststore.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it and makes sense.

@starksm64 starksm64 merged commit 4e4bcf0 into main Mar 8, 2025
3 checks passed
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.

Need to define how SSL certs are configured
2 participants