Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

1.0.0

Choose a tag to compare

@natemcmaster natemcmaster released this 26 May 02:06

First release under new name, LettuceEncrypt 馃ガ . For details on the upgrade and why the project was renamed, see #99.

https://www.nuget.org/packages/LettuceEncrypt/1.0.0
https://www.nuget.org/packages/LettuceEncrypt.Azure/1.0.0

Thanks to the project's contributors for your help!

Feature

  • @natemcmaster - store account information in Azure Key Vault when it is configured to also store certificates (#96)
  • @natemcmaster - support configuring Azure Key Vault settings from appsettings.json under the 'LettuceEncrypt:AzureKeyVault' section (022d588)
  • @natemcmaster - make public the API for configuring the directory URI to the ACME server (#97)

Bug fixes

  • @Crypth - fix issue in fetching private keys from Azure Key Vault (#78)
  • @natemcmaster - fix issues with saving certificates when running under a Linux system account (#82)
  • @natemcmaster - fix issues with validating the certificate chain when using Let's Encrypt's staging server (c927cd2)

Changes:

  • a6fcc13 docs: update release notes and prepare for 1.0.0 release
  • bc58f60 refactor: rename interface to ICertificateAuthorityConfiguration
  • 9086388 refactor: add public API for configuring certificate authority settings
  • c927cd2 cleanup: add more logging and avoid duplicate checks of cert chain
  • 2143e73 fix: suppress errors thrown when certificate chain is invalid and warnings about self-signed certs
  • 022d588 feature: support config binding for Azure Key Vault settings
  • 057c076 refactor: extract code for creating Azure Key Vault clients into separate classes
  • 15edef5 cleanup: run code formatter and fix typos
  • b2eabac Add nullable annotations to publicapi doc
  • 07db031 build(deps): bump Microsoft.CodeAnalysis.PublicApiAnalyzers
See More
  • 1cdd53c feature: store the Let's Encrypt account in Azure KeyVault as a secret
  • 587d3dc refactor: rename namespaces and class types for Azure KeyVault integration
  • 12d43df cleanup: rename files to match class names
  • 2740bba docs: update release notes
  • ba91d19 docs: document API for customizing certificate and account storage and loading
  • 4e4d7f9 build(deps): bump coverlet.collector from 1.1.0 to 1.2.1
  • 60e8408 build(deps): bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.6.1
  • 58515d9 build(deps): bump System.Text.Json from 4.7.1 to 4.7.2
  • fc88f53 fix: fetch cert and the private key from Azure Key Vault (#78)
  • 139de52 Remove code signing (#85)
  • 1cb9aaf Let's rename everything to LettuceEncrypt 馃ガ (#84)
  • a62c5ce fix: ensure failure in one cert repository doesn't prevent saving the cert to others

This list of changes was auto generated.

How to upgrade from 0.5.0

Step 1 - your .csproj file

Replace usage of the McMaster.AspNetCore.LetsEncrypt with LettuceEncrypt.

- <PackageReference Include="McMaster.AspNetCore.LetsEncrypt" Version="0.5.0" />
- <PackageReference Include="McMaster.AspNetCore.LetsEncrypt.Azure" Version="0.5.0" />
+ <PackageReference Include="LettuceEncrypt" Version="1.0.0" />
+ <PackageReference Include="LettuceEncrypt.Azure" Version="1.0.0" />

Step 2 - update appsettings.json

Use the "LettuceEncrypt" key now to configure options.

// appsettings.json
{
-    "LetsEncrypt": {
+    "LettuceEncrypt": {
        "AcceptTermsOfService": true,
        "DomainNames": [ "example.com", "www.example.com" ],
        "EmailAddress": "it-admin@example.com",
    }
}

Step 3 - update your C# files

Find and replace all references to the 'McMaster.AspNetCore.LetsEncrypt' namespace with 'LettuceEncrypt'.

- using McMaster.AspNetCore.LetsEncrypt;
+ using LettuceEncrypt;

Also, you may need to update to use new type names and methods. You should be able to find/replace the word 'LetsEncrypt' with 'LettuceEncrypt'.