To install SSL on Centova Cast, edit file
vi /usr/local/centovacast/etc/ssl/certificate.pem
Add your SSL cert and ca-bundle file content to this file.
Edit
vi /usr/local/centovacast/etc/ssl/private.key
paste your private key.
Creae dhparam.
cd /usr/local/centovacast/etc/ssl/ openssl dhparam -out dhparam.pem 4096
Edi nginx config
vi /usr/local/centovacast/etc/cc-panel.conf
find
listen 2199 default ssl;
Add below
listen 443 ssl; listen 80;
Verify Nginx config is valid with
/usr/local/centovacast/sbin/cc-web -t
If all good, restart nginx with
/usr/local/centovacast/sbin/cc-web -s reload
Now Centova Cast can be accessed using HTTPS/SSL.
Leave a Reply