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

[2.50.3] Lets Encrypt Root CA Change #2409

Merged
merged 5 commits into from
Nov 23, 2020
Merged

[2.50.3] Lets Encrypt Root CA Change #2409

merged 5 commits into from
Nov 23, 2020

Conversation

@ShivamPokhriyal
Copy link
Contributor

Great to see this PR.

Certificate isgCertificate = cf.generateCertificate(new ByteArrayInputStream(isgCert.getBytes("UTF-8")));

HandshakeCertificates certificates = new HandshakeCertificates.Builder()
.addTrustedCertificate((X509Certificate)isgCertificate)

Choose a reason for hiding this comment

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

Do you need to support other platform certificates as well? Or just an LE root?

Can you confirm this already works for existing LE certificates?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you need to support other platform certificates as well?

Uh yes, It's failing for other non LE certs. so seems like we need to add addPlatformTrustedCertificates() to allow for other certificates. Appreciate the catch.

Can you confirm this already works for existing LE certificates?

Yeah this somehow works without adding the call to addPlatformTrustedCertificates(). Not sure how though!

@ctsims
Copy link
Member

ctsims commented Nov 20, 2020

@damagatchi retest this please

@shubham1g5
Copy link
Contributor Author

@ctsims the build is going to fail on this as we need to build it against 2.50 core. We will be able to see the build status over here once merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants