Dvoituron.Tools.AzureLetsEncrypt
1.1.0
See the version list below for details.
dotnet tool install --global Dvoituron.Tools.AzureLetsEncrypt --version 1.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Dvoituron.Tools.AzureLetsEncrypt --version 1.1.0
#tool dotnet:?package=Dvoituron.Tools.AzureLetsEncrypt&version=1.1.0
nuke :add-package Dvoituron.Tools.AzureLetsEncrypt --version 1.1.0
AzureLetsEncrypt
Simple tool to add a Let's Encrypt SSL certificate to your websites.
this application is a .NET Core tool that generates an SSL certificate, validates it with LetsEncrypt.
The detailled steps to create a SSL certificate and validate it with the Let’s Encrypt Certificate Authority are described in my blog : https://dvoituron.com/2018/01/29/ssl-certification-azure-letsencrypt. This tool automates these steps.
If you want generate and publish automatically your certificate, see https://github.com/dvoituron/AzureLetsEncrypt
Steps to generate and validate a certificate
Go to Azure portal, navigate to your Web App Service, and select the Console
Install this tool, using this command:
dotnet tool install dvoituron.tools.azureletsencrypt -g
From you root folder (D:\home\site\wwwroot), run this command:
azureletsencrypt --domains=mydomain.com;www.mydomain.com --password=My@Password
You can download your validated Pfx certificate from a subfolder
./store
.Go to SSL settings to upload your Pfx.
- Private certificate: upload your Pfx file (using your password)
- Bindings: Add a SSL Binding using a SNI based
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
This package has no dependencies.