|
RTMPSandHTTPS
Using OpenMeetings with RTMPS and HTTPS
available since OpenMeetings 1.9.x There are 3 ways the client communicates with the server:
Prerequisites
Configuring RTMPS for the Flash Client
(copied from http://trac.red5.org/wiki/Documentation/Tutorials/Red5DeveloperTips/SSLTLS):keytool -keysize 2048 -genkey -alias red5 -keyalg RSA -keystore red5/conf/keystore Enter keystore password: Re-enter new password: What is your first and last name? [Unknown]: <your hostname, e.g demo.openmeetings.de> What is the name of your organizational unit? [Unknown]: Dev What is the name of your organization? [Unknown]: OpenMeetings What is the name of your City or Locality? [Unknown]: Henderson What is the name of your State or Province? [Unknown]: Nevada What is the two-letter country code for this unit? [Unknown]: US Is CN=demo.openmeetings.de, OU=Dev, O=OpenMeetings, L=Henderson, ST=Nevada, C=US correct? [no]: yes Enter key password for <red5>
Set up RTMPS
<bean id="rtmpsMinaIoHandler"
class="org.red5.server.net.rtmps.RTMPSMinaIoHandler">
<property name="handler" ref="rtmpHandler" />
<property name="codecFactory" ref="rtmpCodecFactory" />
<property name="rtmpConnManager" ref="rtmpMinaConnManager" />
<property name="keyStorePassword" value="${rtmps.keystorepass}" />
<property name="keystoreFile" value="conf/keystore" />
</bean>
<bean id="rtmpsTransport" class="org.red5.server.net.rtmp.RTMPMinaTransport" init-method="start" destroy-method="stop">
<property name="ioHandler" ref="rtmpsMinaIoHandler" />
<property name="connectors">
<list>
<bean class="java.net.InetSocketAddress">
<constructor-arg index="0" type="java.lang.String" value="${rtmps.host}" />
<constructor-arg index="1" type="int" value="${rtmps.port}" />
</bean>
</list>
</property>
<property name="receiveBufferSize" value="${rtmp.receive_buffer_size}" />
<property name="sendBufferSize" value="${rtmp.send_buffer_size}" />
<property name="tcpNoDelay" value="${rtmp.tcp_nodelay}" />
</bean>
SSL for the web interfaceIf you want to use SSL for the web interface in addition to RTMPS, you need to make some further modifications. This is mainly to secure the server against MITM attacks, additionally some other features like file uploads also use a plain HTTP connection if this is not done. The following instructions assume that you have already set up RTMPS successfully.
CreditsCredits goto: Nexus and Holger Rabbach for their help and contribution and configuration documention! |
"You need OpenMeetings? 1.x.x for this, OpenMeetings? 1.8.x does not have those options."
Does this mean you cannot setup Openmeetings 1.8.x to use RTMPS ?
those docs refer to trunk and are not officially released yet.
Is that a 'no'? or at least a 'not yet'? :)
How about the "copy the attached jee-container-ssl.xml..." Where is it? I can't see it here.
I guess this step is redundant, I was able to set up https without this step