Well, file was already there (/etc/cc-panel.conf) but new empty files where created in etc/web.d/.
I've got problem with runing CC in SSl mode. this is message after uncomenting lines in cc-panel.conf ->
# /etc/init.d/centovacast restart
Stopping Centova Cast: cc-ftpd (not running) cc-web (not running) cc-appserver (not running) cc-control (not running) cc-imaged (not running)
Starting Centova Cast: cc-control cc-appserver cc-web nginx: [emerg] invalid number of arguments in "ssl_certificate" directive in /usr/local/centovacast/etc/cc-panel.conf:43
- failed
cc-control
This is my cc-panel.conf file ->
# =============================================================================
#
# Centova Cast - Copyright 2010-2012, Centova Technologies Inc.
# Web Control Panel Configuration File
#
# =============================================================================
#
# WARNING:
# These settings normally should not need to be modified except as
# instructed by Centova Technologies.
#
# Problems caused as a result of modification of this file are not covered
# under your Centova Cast support agreement. Should you require technical
# support as a result of modifying this file, it will be billed at Centova
# Technologies' hourly professional services rate.
#
# PORT NUMBER / INTERFACE
# if you prefer to use an alternate port for your Centova Cast web interface, change
# the port number below, but make sure you update MASTER_PORT in etc/cc-control.conf too
#
# to bind to a specific interface, use ip:port (eg: listen 10.2.3.4:2199) and
# update MASTER_ADDR in etc/cc-control.conf as well.
#listen 2199 default;
# SSL
# if you prefer to use SSL, comment out the above "listen 2199 default;" line, uncomment the
# next three (3) lines, and save your SSL certificate and private key as certificate.pem and
# private.key, respectively, under /usr/local/centovacst/etc/ssl/
listen 2199 default ssl;
ssl_certificate /usr/local/centovacast/etc/ssl/certificate.pem
ssl_certificate_key /usr/local/centovacast/etc/ssl/private.key
# HOSTNAMES
# if you wish to use start page urls in the format http://username.yourdomain.com (instead of the
# standard http://yourdomain.com/start/username) you can specify yourdomain.com here and configure
# wildcard dns for *.yourdomain.com to point to your Centova Cast web interface server's IP address
set $startpagedomain centovacast;
# you can specify the hostname for your web interface here, although it's usually not needed
server_name centovacast;
UPDATE
I've found fix for above, just add ' ; ' at the end of lines:
ssl_certificate /usr/local/centovacast/etc/ssl/certificate.pem;
ssl_certificate_key /usr/local/centovacast/etc/ssl/private.key;
but now I've got another error message :
Starting Centova Cast: cc-control cc-appserver cc-web nginx: [emerg] "listen" directive is not allowed here in /usr/local/centovacast/etc/web.d/cc-panel.conf:25
- failed
cc-control
I'm begginer in nginx :/
-------------------UPDATE 2--------------------------
For those who would like to run CC panel in SSL mode this is proper cc-panel.conf which You can copy and overwrite Yours:
# =============================================================================
#
# Centova Cast - Copyright 2010-2012, Centova Technologies Inc.
# Web Control Panel Configuration File
#
# =============================================================================
#
# WARNING:
# These settings normally should not need to be modified except as
# instructed by Centova Technologies.
#
# Problems caused as a result of modification of this file are not covered
# under your Centova Cast support agreement. Should you require technical
# support as a result of modifying this file, it will be billed at Centova
# Technologies' hourly professional services rate.
#
# PORT NUMBER / INTERFACE
# if you prefer to use an alternate port for your Centova Cast web interface, change
# the port number below, but make sure you update MASTER_PORT in etc/cc-control.conf too
#
# to bind to a specific interface, use ip:port (eg: listen 10.2.3.4:2199) and
# update MASTER_ADDR in etc/cc-control.conf as well.
#listen 2199 default;
# SSL
# if you prefer to use SSL, comment out the above "listen 2199 default;" line, uncomment the
# next three (3) lines, and save your SSL certificate and private key as certificate.pem and
# private.key, respectively, under /usr/local/centovacst/etc/ssl/
listen 2199 ssl default;
ssl_certificate /usr/local/centovacast/etc/ssl/certificate.pem;
ssl_certificate_key /usr/local/centovacast/etc/ssl/private.key;
# HOSTNAMES
# if you wish to use start page urls in the format http://username.yourdomain.com (instead of the
# standard http://yourdomain.com/start/username) you can specify yourdomain.com here and configure
# wildcard dns for *.yourdomain.com to point to your Centova Cast web interface server's IP address
set $startpagedomain centovacast;
# you can specify the hostname for your web interface here, although it's usually not needed
server_name centovacast;