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

Let's Encrypt Staging Certificate fails .ToPem() #297

Open
itniels opened this issue Aug 24, 2022 · 4 comments
Open

Let's Encrypt Staging Certificate fails .ToPem() #297

itniels opened this issue Aug 24, 2022 · 4 comments

Comments

@itniels
Copy link

itniels commented Aug 24, 2022

When a Staging certificate is created, and the method .ToPem() is run, it throws the following exception:

AcmeException: Can not find issuer 'C=US,O=(STAGING) Internet Security Research Group,CN=(STAGING) Doctored Durian Root CA X3' for certificate 'C=US,O=(STAGING) Internet Security Research Group,CN=(STAGING) Pretend Pear X1'.

@kamyker
Copy link

kamyker commented Nov 2, 2022

same

@xiaogangy
Copy link

I met the same problem as well. I have followed the intruction in https://letsencrypt.org/docs/staging-environment/ and import these .pem file into my trust stores but it still didn't work

@webprofusion-chrisc
Copy link
Collaborator

The solution I'd suggest is to add PfxBuilder .AddIssuers method to add each cert (from Der format bytes) you will rely on for the PFX build (typically the intermediates and the trusted root). This is what we do in Certify The Web, which also uses certes.

@lovachen
Copy link

same

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

5 participants