Answered
rtmps with self-signed certificate
Hello,
I have a simple Webcam movie, publishing a live-video
to an FMS 2.0.2 r51 dev. edition running on Debian 3.1r2
and then playing it back in another video-window.
It works fine with rtmp and rtmpt, but with rtmps I get
the "NetConnection.Connect.Failed" error.
I've prepared a simple test case and gathered all
infos here: http://pref.dyndns.org:8080/live/live.html
The certificate has been created by me this way:
openssl req -x509 -days 365 -newkey rsa:1024 \
-out self-signed-certificate.pem -keyout pub-sec-key.pem
And put into defaultRoot_/Adaptor.xml:
<HostPort name="edge1" ctl_channel=":19350">:1935,80,-443</HostPort>
.....skipped....
<SSLCertificateFile>/home/afarber/certs/self-signed-certificate.pem</SSLCertificateFile>
<SSLCertificateKeyFile type="PEM">/home/afarber/certs/pub-sec-key.pem</SSLCertificateKeyFile>
<SSLPassPhrase>secret</SSLPassPhrase>
<SSLCipherSuite>ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH</SSLCipherSuite>
I'm sure the server is running as I see in the /var/log/messages:
localhost Adaptor[2675]: Listener started ( _defaultRoot__edge1 ) : 443 (secure)
I've also tried putting
import mx.remoting.Service;
import mx.services.Log;
import mx.remoting.debug.NetDebug;
NetDebug.initialize();
at the top of my AS-code, but the NetConnection Debugger
window displays no inforamtion at all, for some reason:
http://pref.dyndns.org:8080/live/netdebug-empty.gif
Regards
Alex
I have a simple Webcam movie, publishing a live-video
to an FMS 2.0.2 r51 dev. edition running on Debian 3.1r2
and then playing it back in another video-window.
It works fine with rtmp and rtmpt, but with rtmps I get
the "NetConnection.Connect.Failed" error.
I've prepared a simple test case and gathered all
infos here: http://pref.dyndns.org:8080/live/live.html
The certificate has been created by me this way:
openssl req -x509 -days 365 -newkey rsa:1024 \
-out self-signed-certificate.pem -keyout pub-sec-key.pem
And put into defaultRoot_/Adaptor.xml:
<HostPort name="edge1" ctl_channel=":19350">:1935,80,-443</HostPort>
.....skipped....
<SSLCertificateFile>/home/afarber/certs/self-signed-certificate.pem</SSLCertificateFile>
<SSLCertificateKeyFile type="PEM">/home/afarber/certs/pub-sec-key.pem</SSLCertificateKeyFile>
<SSLPassPhrase>secret</SSLPassPhrase>
<SSLCipherSuite>ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH</SSLCipherSuite>
I'm sure the server is running as I see in the /var/log/messages:
localhost Adaptor[2675]: Listener started ( _defaultRoot__edge1 ) : 443 (secure)
I've also tried putting
import mx.remoting.Service;
import mx.services.Log;
import mx.remoting.debug.NetDebug;
NetDebug.initialize();
at the top of my AS-code, but the NetConnection Debugger
window displays no inforamtion at all, for some reason:
http://pref.dyndns.org:8080/live/netdebug-empty.gif
Regards
Alex
