Hi Mr. Alvaro,

Sending you the text file with steps which we had followed, most of the
steps are included in OM documentation already, only the generation of
self signed certificates are extra steps which are added

regards
Ajay


On Sat, Jul 25, 2020 at 12:09 PM Alvaro <[email protected]> wrote:

> Hello Ajay,
>
> Could you please write the steps you has followed to get it?
>
> Thank you
>
>
> ..............................
>
>
>
> El sáb, 25-07-2020 a las 00:53 +0530, Ajay Simha escribió:
>
> Mr.Solodovni
>
> Thanks for the Input, we started from scratch and were able to get 4.0.10
> on ssl
>
> Regards
>
>
> On Thu, Jul 23, 2020 at 9:25 PM Maxim Solodovnik <[email protected]>
> wrote:
>
> I would recommend to search the archives (for ex. here
> https://openmeetings.markmail.org/)
> The topic was discussed multiple times
>
> obviously some certificates are missing in the chain
> Most probably SSL debug can help (search ML archives for the exact options)
>
> On Tue, 21 Jul 2020 at 23:37, Ajay Simha <[email protected]> wrote:
>
> we have modified the setup as per the document suggested, for HTTPS
>
> while modifying,  we got an error " *Illegal option: -keystorepass* "
> while running the below command
> keytool -import -alias root -keystore /opt/red5/conf/keystore.jks
> -keystorepass changeit -trustcacerts -file ca.crt
> We changed the command from *keystorepass* to *storepass*, it got
> executed (as shown below).
>
> keytool -import -alias root -keystore /opt/red5/conf/keystore.jks
> -storepass changeit -trustcacerts -file ca.crt
>
> Now when we try to access the application using https://localhost:5443,
> application is not accessible, *page can't be displayed* error in show on
> the browser.
>
> we have made sure the web-server is running by executing sudo
> /etc/init.d/red5-ubdeb2 start
>
> Your help is much appreciated in this.
>
> Ajay
>
>
>
> --
> Best regards,
> Maxim
>
>
sudo apt update
sudo apt upgrade
sudo apt install openjdk-11-jdk openjdk-11-jdk-headless
sudo apt install icedtea-netx
sudo update-alternatives --config java
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice
sudo apt install -y imagemagick libjpeg62 zlib1g-dev
sudo nano /etc/ImageMagick-6/policy.xml
sudo apt install sox
sudo apt install flashplugin-installer
sudo apt install ffmpeg vlc
sudo apt install mariadb-server
sudo /etc/init.d/mysql start
sudo mysqladmin -u root password new-password
sudo mysql -u root -p
CREATE DATABASE open4010 DEFAULT CHARACTER SET 'utf8';
GRANT ALL PRIVILEGES ON open4010.* TO 'hola'@'localhost' IDENTIFIED BY 
'1a2B3c4D' WITH GRANT OPTION;
Bye
sudo mkdir /opt/red54010
cd /opt/red54010
sudo wget 
http://archive.apache.org/dist/openmeetings/4.0.10/bin/apache-openmeetings-4.0.10.tar.gz
sudo tar xzvf apache-openmeetings-4.0.10.tar.gz
sudo chown -R nobody /opt/red54010
sudo wget 
https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.48/mysql-connector-java-5.1.48.jar
sudo cp /opt/red54010/mysql-connector-java-5.1.48.jar 
/opt/red54010/webapps/openmeetings/WEB-INF/lib
sudo wget 
https://cwiki.apache.org/confluence/download/attachments/27838216/red5-ubdeb2
sudo cp red5-ubdeb2 /etc/init.d/
sudo chmod +x /etc/init.d/red5-ubdeb2
sudo /etc/init.d/mysql start
sudo /etc/init.d/red5-ubdeb2 start
sudo openssl genrsa -des3 -out ca.key 2048
sudo openssl req -x509 -new -nodes -key ca.key -sha256 -days 1825 -out ca.crt
sudo openssl genrsa -out red5.key 2048
sudo openssl req -new -key red5.key -out red5.csr
sudo openssl x509 -req -in red5.csr -CA ca.crt -CAkey ca.key -CAcreateserial 
-out red5.crt -days 825 -sha256 
sudo openssl pkcs12 -export -in red5.crt -inkey red5.key -out red5.p12 -name 
red5 -certfile ca.crt
sudo keytool -importkeystore -srcstorepass ajay123 -srckeystore red5.p12 
-srcstoretype PKCS12 -deststorepass ajay123 -destkeystore 
/opt/red54010/conf/keystore.jks -alias red5
sudo keytool -import -alias root -keystore /opt/red54010/conf/keystore.jks 
-storepass ajay123 -trustcacerts -file ca.crt
sudo nano /opt/red54010/conf/red5.properties
        rtmps.keystorepass=ajay123
        rtmps.truststorepass=ajay123
        jmx.keystorepass=ajay123
sudo /etc/init.d/red5-ubdeb2 restart
login in application using http://localhost:5080
in configurtion change flash.secure = true from flash.secure = false
sudo nano /opt/red54010/conf/jee-container.xml
        comment Tomacat without SSL 
        deleted a comment in the second line <!-- red5 WebSockets are disabled 
-->
        commented the entire block under comment Tomacat with SSL from <bean> 
to </bean> 
        uncomment entire block under Tomacat with SSL from <bean> to </bean>
sudo /etc/init.d/red5-ubdeb2 restart
import ca.crt into browser
login https://localhost:5443
sudo nano /opt/red54010/conf/red5-core.xml
goto RTMPS 
remove the Comment  from <bean> to </bean> 
<bean id="rtmpsTransport" class="org.red5.server.net.rtmp.RTMPMinaTransport" 
init-method="start" destroy-method="stop">
        <property name="ioHandler" ref="rtmpsMinaIoHandler" />
        <property name="addresses">
            <list>
                 <value>${rtmps.host}:${rtmps.port}</value>
            </list>
        </property>
        <property name="ioThreads" value="${rtmp.io_threads}" />
        <property name="tcpNoDelay" value="${rtmp.tcp_nodelay}" />
    </bean>
 
sudo /etc/init.d/red5-ubdeb2 restart 


Reply via email to