mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update lets_encrypt.markdown (#4442)
This commit is contained in:
parent
12346dba05
commit
a733d0417f
@ -16,13 +16,8 @@ You should not use this if you are also using the [DuckDNS add-on]. The DuckDNS
|
||||
|
||||
Setup and manage a [Let's Encrypt](https://letsencrypt.org/) certificate. This will create a certificate on the first run and will auto-renew if the certificate is within 30 days of expiration.
|
||||
|
||||
<p class='note warning'>
|
||||
This add-on uses ports 80/443 to verify the certificate request. You will need to stop all other add-ons that also use these ports. If you don't need a port (like with https you don't need port 80) you can remove this from network config.
|
||||
</p>
|
||||
|
||||
```json
|
||||
{
|
||||
"challenge": "https",
|
||||
"email": "example@example.com",
|
||||
"domains": ["example.com", "mqtt.example.com", "hass.example.com"]
|
||||
}
|
||||
@ -30,7 +25,6 @@ This add-on uses ports 80/443 to verify the certificate request. You will need t
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **challenge** (*Optional*): Default it use 443 ('https') you can change it to 'http' for use port 80.
|
||||
- **email** (*Required*): Your email address for registration on Let's Encrypt.
|
||||
- **domains** (*Required*): A list of domains to create/renew the certificate.
|
||||
|
||||
@ -45,6 +39,6 @@ http:
|
||||
ssl_key: /ssl/privkey.pem
|
||||
```
|
||||
|
||||
If you use a other port as `8123` or a SSL proxy, change the port number.
|
||||
If you use another port such as `8123` or a SSL proxy, change the port number.
|
||||
|
||||
[DuckDNS add-on]: /addons/duckdns/
|
||||
|
Loading…
x
Reference in New Issue
Block a user