Update tls_self_signed_certificate.markdown (#13179)

This commit is contained in:
Malcolm 2020-05-05 08:47:09 +00:00 committed by GitHub
parent 357bc3ff60
commit b5cd87e3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,14 @@ http:
ssl_key: /home/your_user/.homeassistant/privkey.pem ssl_key: /home/your_user/.homeassistant/privkey.pem
``` ```
Docker:
```yaml
http:
ssl_certificate: /config/fullchain.pem
ssl_key: /config/privkey.pem
```
A restart of Home Assistant is required for the new certificate to take effect. A restart of Home Assistant is required for the new certificate to take effect.
If you get any log error about *ssl_key* or *ssl_certificate* that is **not a file for dictionary value** when run Home Assistant, you need to change owner or access permission of the `.pem` files as following: If you get any log error about *ssl_key* or *ssl_certificate* that is **not a file for dictionary value** when run Home Assistant, you need to change owner or access permission of the `.pem` files as following: