natemcmaster / LettuceEncrypt

Free, automatic HTTPS certificate generation for ASP.NET Core web apps
https://nuget.org/packages/LettuceEncrypt
Apache License 2.0
1.59k stars 154 forks source link

Only runs once, when I restart it doesnt run again. #261

Closed 1FriendlyDoge closed 8 months ago

1FriendlyDoge commented 2 years ago

I am using Blazor Server (.NET 6), whenever I am running it on Ubuntu (18.04). It only ran once, even when I remove all my app files and move them to my server again it doesnt generate any certificate (and logs nothing). Even the first time when it "worked", I couldn't connect to my web page at all.

Program.cs (only the important parts) builder.WebHost.UseKestrel(k => { var appServices = k.ApplicationServices; k.Listen( IPAddress.Any, 443, o => o.UseHttps(h => { h.UseLettuceEncrypt(appServices); })); }); builder.Services.AddLettuceEncrypt().PersistDataToDirectory(new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + "Crypt/"), "PasswordHere");

Is this a known issue or am I doing something wrong?

natemcmaster commented 1 year ago

I'm unable to reproduce the problem with the information provided. Please provide more steps to recreate this problem.

github-actions[bot] commented 9 months ago

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.

github-actions[bot] commented 8 months ago

Closing due to inactivity. If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.