For setting up Kaltura CE 9 with HTTPS and above follow the instructions on Kaltura Github
For setting up a different Kaltura CE with HTTPS (CE4/5/6) you should follow the post below.
With a secure web server, users can connect and upload data and videos to your server, knowing that both you are who you claim to be and that their data and videos are secure.
KalturaCE is an open source video platform which comes configured only for HTTP access.
But some scenarios like embedding videos on Facebook require HTTPS support.
This post will guide you through the steps necessary to configure kaltura for HTTPS.
There are several steps to perform:
- Create a SSL certificate
- Configure apache
- Create a new Kaltura virtual host
1. Create an SSL Certificate
For information and instructions on creating a certificate, see this blog post.
2. Configure apache
Enable the apache SSL module
Edit /etc/apache2/ports.conf (on Ubuntu) or /etc/apache2/apache2.conf, add the following lines inside the IfModule mod_ssc.c directive
Listen 443 NameVirtualHost *:443
Edit /etc/apache2/apache2.conf and add
2. Create a new Kaltura virtual host
Throughout this section we assume your kaltura site’s address is my-kaltura-site.com.
Make a copy of /opt/kaltura/app/configurations/apache/my_kaltura.conf and name it my_kaltura_https.conf. Change the <VirtualHost *:80> to <VirtualHost *:443> and add the following lines, replace the paths here to the actual location
SSLEngine On SSLCertificateFile /your/certificate/path/server.crt SSLCertificateKeyFile /your/certificate/key/path/server.key
Find the following lines by searching for “http” and change the http in the following lines to https
RewriteRule .* https://my-kaltura-site.com/kmc RewriteRule ^$ https://my-kaltura-site.com
You can use the attached file, my_kaltura_https for reference. Look for my-kaltura-site.com, server.crt and server.key to see which lines you should replace.
Restart apache, and browse to https://my-kaltura-site.com.
If you are using a self signed certificate, your browser will probably alert you that the site has insecure content.
Now you can embed videos on facebook, and your users can upload videos securely.