-
去https://freessl.cn/离线生成证书,根据提示下载使用KeyManager,证书会导入到KeyManager中。
image.png
-
KeyManager中查看证书详情-查看PEM,去https://www.myssl.cn/tools/merge-pem-cert.html将证书内容合并为一个ssl.pem文件。
![](https://img.haomeiwen.com/i118101/3bfa11b0c667033d.png)
![](https://img.haomeiwen.com/i118101/a5301630f5590d1d.png)
-
将ssl.pem文件存放到服务器上,homeassistant在configuration.yaml配置https
image.png
-
如果使用了frpc做内网穿透,则配置https端口映射到本地的8123端口即可
image.png
部分内容参考了:https://www.hachina.io/8933.html
网友评论