Motion 4.1.1의 알 수 없는 구성 옵션 'stream_tls'

Motion 4.1.1의 알 수 없는 구성 옵션 'stream_tls'

stream_tls옵션을 사용하고 싶습니다이 링크이는 다음과 같이 알려줍니다.

이 옵션은 스트리밍 포트에 SSL/TLS를 활성화할지 여부를 지정합니다. 일부 배포판의 경우 Motion에서 사용하는 라이브러리가 SSL/TLS를 지원하도록 컴파일되지 않을 수 있습니다. 이 경우 Motion은 SSL/TLS 연결을 지원할 수 없습니다. SSL/TLS 지원 여부가 로그에 보고됩니다. 이 옵션을 선택하는 것 외에도 webcontrol_cert 및 webcontrol_key 파일도 지정해야 합니다.

을 추가하면 stream_tls다음 로그가 표시 됩니다 webcontrol_tls.webcontrol_keywebcontrol_cert

[3626632:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "stream_tls"
[3626632:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "webcontrol_tls"
[3626632:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "webcontrol_key"
[3626632:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "webcontrol_cert"  

구성 파일 /etc/motion/motion.conf과 다음 줄을 변경했습니다.

stream_tls on

webcontrol_tls on
webcontrol_key /etc/motion/motion.key
webcontrol_cert /etc/motion/motion.crt

/etc/motion/motion.key또한 다음 프로세스를 통해 합계를 생성했습니다 ./etc/motion/motion.crt

openssl genrsa -out /etc/motion/motion.key 4096
openssl req -new -key /etc/motion/motion.key -out /etc/motion/motion.crt

내 목표는 motion스트리밍 웹 페이지( https)를 보호하는 것입니다. 왜 이렇게 되어야 하는지 모르겠습니다. 그냥 추가하면 이 옵션과 동일한 오류가 발생하기 때문에 문제는 .keyand file 에 있지 않다고 확신합니다 ..crtstream_tls on

이 문제를 어떻게 해결할 수 있나요?

관련 정보