You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The [`LettuceEncrypt` NuGet package](https://github.com/natemcmaster/LettuceEncrypt) described in this article is archived and no longer supported, so the package isn't recommended for use.
17
+
15
18
## Introduction
16
-
YARP can support the certificate authority [Lets Encrypt](https://letsencrypt.org/) by using the API of another ASP.NET Core project [LettuceEncrypt](https://github.com/natemcmaster/LettuceEncrypt). It allows you to set up TLS between the client and YARP with minimal configuration.
19
+
20
+
YARP can support the certificate authority [Lets Encrypt](https://letsencrypt.org/) by using the API of another ASP.NET Core project, [`LettuceEncrypt`](https://github.com/natemcmaster/LettuceEncrypt). It allows you to set up TLS between the client and YARP with minimal configuration.
There are required options for LettuceEncrypt that should be set, see the example of `appsettings.json`:
31
+
32
+
There are required options for `LettuceEncrypt` that should be set. See the example of `appsettings.json`:
27
33
28
34
```json
29
35
{
@@ -37,8 +43,10 @@ There are required options for LettuceEncrypt that should be set, see the exampl
37
43
},
38
44
39
45
"LettuceEncrypt": {
40
-
// Set this to automatically accept the terms of service of your certificate authority.
41
-
// If you don't set this in config, you will need to press "y" whenever the application starts
46
+
// Set this to automatically accept the terms of service of your certificate
47
+
// authority.
48
+
// If you don't set this in config, you will need to press "y" whenever the
49
+
// application starts
42
50
"AcceptTermsOfService": true,
43
51
44
52
// You must specify at least one domain name
@@ -56,16 +64,17 @@ There are required options for LettuceEncrypt that should be set, see the exampl
56
64
services.AddLettuceEncrypt();
57
65
```
58
66
59
-
For more options (i.e. saving certificates) see examples in [LettuceEncrypt doc](https://github.com/natemcmaster/LettuceEncrypt).
67
+
For more options (for example, saving certificates) see the examples in the [`LettuceEncrypt` project README](https://github.com/natemcmaster/LettuceEncrypt).
60
68
61
69
## Kestrel Endpoints
62
70
63
-
If your project is explicitly using kestrel options to configure IP addresses, ports, or HTTPS settings, you will also need to call `UseLettuceEncrypt`.
71
+
If your project is explicitly using Kestrel options to configure IP addresses, ports, or HTTPS settings, call `UseLettuceEncrypt`:
0 commit comments