- 积分
- 466
- 金钱
- 460
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 466
- 金钱
- 460
- HASS币
- 0
|
发表于 2024-12-2 23:50:02
|
显示全部楼层
请问,我设定好duck dns后,ssl文件夹里多出privkey.pem fullchain.pem了。
可在configuration.yaml加入
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
后就提示
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Invalid config for 'http' at configuration.yaml, line 26: not a file for dictionary value 'http->ssl_certificate', got '/config/ssl/fullchain.pem'
Invalid config for 'http' at configuration.yaml, line 27: not a file for dictionary value 'http->ssl_key', got '/config/ssl/privkey.pem'。
不知道楼主知道原因吗。感谢。 |
|