使用 SSL/HTTPS 保护 Raspberry Pi Motion 视频流

问题描述

是否可以使用动作创建安全连接?我已经使用 Apache 在 HTML 页面上嵌入了我的运动流,但它不会显示,因为它是使用 letencrypt 和 certbot 加密的安全页面上的不安全 img。我可以在以下位置查看运动流:

http://www.example.com:<Motion-Port> 但嵌入视频在

https://example.com/camera.html 不会显示。

图片代码:

<img id="camera" src="http://xx.xxx.xxx.xx:8081">

我试图修改motion.conf文件,但似乎没有任何作用

webcontrol_tls on
stream_tls on
webcontrol_cert /etc/letsencrypt/live/www.example.com/fullchain.pem
webcontrol_key /etc/letsencrypt/live/www.example.com/privkey.pem

Picture of my setup

否则,我很乐意了解另一种将 raspberry pi 的相机流显示到我的网站的方法。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)