No credentials are available in the security package while creating certificate
See original GitHub issueHello,
I’m facing an issue while starting my application using Lettuce Encrypt (underlined in red bellow) :
Win32Exception (0x8009030E): No credentials are available in the security package
I configured Lettuce Encrypt this way in my Startup.cs file :
services.AddLettuceEncrypt().PersistDataToDirectory(new DirectoryInfo(certDirectory), "MyPfxPassword");
I’m trying to figure out where is my mistake. Could someone please help me about this topic ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
.NET Core 5.0: X509Certificate2 - No credentials are ...
In .NET Core 5.0 with Kestrel, I'm getting "No credentials are available in the security package" when doing SSL with Kestrel on Windows....
Read more >c# - No credentials are available in the security package
Caching the Exception said “No credentials are available in the security package”. I tried to use the following line and still didn't work...
Read more >No credentials are available in the security package
I'm hosting photon server on a subdomain that already has an ssl certificate installed. I can't download the certificate and install it on...
Read more >Troubleshoot SslStream authentication issues - .NET
On Windows, you may encounter the (0x8009030E): No credentials are available in the security package error message when attempting to use ...
Read more >Solved: NPS server certificates and wireless security
Find answers to NPS server certificates and wireless security from ... with the error "No credentials are available in the security package" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing as a duplicate of https://github.com/natemcmaster/LettuceEncrypt/issues/101.
This was fixed last year in https://github.com/natemcmaster/LettuceEncrypt/pull/110 and released as v1.1.0-beta.60.
FYI I’ve released 1.1.0 today. Please try upgrading to this new version.
The current source seems good; I downloaded the project and replaced the package reference with a project reference to the LettuceEncrypt.csproj file. My app managed to create and use a certificate without issue.
There are several commits since the latest release; I guess the fix is in one of them.