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