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

Alternative chain paths #68

Closed
VojtechMyslivec opened this issue Sep 8, 2017 · 4 comments
Closed

Alternative chain paths #68

VojtechMyslivec opened this issue Sep 8, 2017 · 4 comments

Comments

@VojtechMyslivec
Copy link

Thank you for maintaining simp_le tool.

I have a question about alternative chains for issued certificates, which are described in Chain of Trust

I use simp_le with -f fullchain.pem parameter and it saves 2 certs in the file:

Certificate chain
 0 s:/CN=example.org
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3

Which is correct and trusted with IdenTrust DST Root CA X3. But if I look on Let's Encrypt demo webpage, it sends following chain:

Certificate chain
 0 s:/CN=valid-isrgrootx1.letsencrypt.org
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
   i:/C=US/O=Internet Security Research Group/CN=ISRG Root X1

So my question is why simp_le generates chain with DST Root CA X3 and demo page is with ISRG Root X1? Is there some way to generate chain with both alternative paths?

@zenhack
Copy link
Owner

zenhack commented Sep 11, 2017

Sorry for the slow response on this one.

I don't know off-hand what simp_le is doing differently; I'll try to find time in the next week to sit down and figure it out (but I wanted to at least respond in the meantime, rather than just not acknowledging the issue).

@buchdag
Copy link
Contributor

buchdag commented Sep 11, 2017

I don't think simp_le does things differently than certbot, I have certificates created by both and they both have the same chain : mydomain.tld > Let's Encrypt Authority X3 > DST Root CA X3 (as does Let's Encrypt community board).

The demo page you linked is providing two chains, the one that seems to be provided by default by simp_le or certbot and the second one with ISRG Root X1. I don't think there is an option in certbot to get that chain instead of the one that is cross signed by DST Root CA X3.

@VojtechMyslivec
Copy link
Author

Thanks for reply and for the links. I have found only the one with ISRG Root X1. It seems that DST Root X3 is the standard one.

@buchdag I don't think that the page offer 2 alternative chains (see openssl output from my post) but ssllabs just found the alternate one with "extra"-downloaded intermediate cert.

@zenhack
Copy link
Owner

zenhack commented Sep 11, 2017

@buchdag thanks for investigating this.

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

No branches or pull requests

3 participants