question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No credentials are available in the security package while creating certificate

See original GitHub issue

Hello,

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

image

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:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
natemcmastercommented, Jun 13, 2021

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.

0reactions
davidskcommented, Feb 20, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found