-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Can not find issuer for staging server #194
Comments
Apparently this is due to the fact that Let's Encrypt is changing their staging keys, and my server does not have their CE trusted (see https://letsencrypt.org/docs/staging-environment/#root-certificates). I don't think this is something for this library to solve so feel free to close it if I am correct with this assumption. |
If I remember right, I think @huesie ran into this issue as well, and solved it by forking this project and adding automatic fetching of the staging server CA certs. If this is a general problem for others, I'd be interested in taking a contribution to make it easier to solve. |
The root cause for this problem lies in the fact that Certes does not include the new staging keys in their set of embedded certificates. I've tried to install the staging certificates to the current users certificate store for testing but that did not work. So I would be thankful for some pointers on how to mitigate this issue. |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project. |
Closing due to inactivity. |
I've just merged #279. Can you take a look at this and see if it solves your problem? |
It doesn't solve the issue. With the latest version (1.2.0), I get the same problem on my own end here. |
You have to test against main, the NuGet is does not have the fix. |
You can also test with https://www.nuget.org/packages/LettuceEncrypt/1.3.0-beta.246 |
I'm seeing the same issue with the current beta version: 1.3.0-beta.249 |
@netclectic can you share the steps you are using so I can reproduce the problem? |
I made a repo - https://github.com/netclectic/Blazor_LettuceEncrypt Its using ngrok, so you will need to follow the integration test instructions and change the values in the appsettings. https://github.com/natemcmaster/LettuceEncrypt/tree/main/test/Integration |
I'm also seeing this same issue with 1.3.0-beta.249 |
Have you tried using the LettuceEncrypt/src/LettuceEncrypt/LettuceEncryptOptions.cs Lines 51 to 65 in 4dfcf03
|
@orkylish @netclectic alternatively you can use Everything else should be clear if you read the xml documentation of |
Describe the bug
A clear and concise description of what the bug is.
When setting
"UseStagingServer": true
, the following output is given when my server runs:To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
A staging cert will be generated
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: