0% found this document useful (0 votes)
149 views4 pages

KAZOO VoIP Install SSL Latest

The document provides instructions to configure SSL for the Crossbar component of Kazoo on a CentOS server. It describes 12 steps to 1) create Apache virtual hosts, 2) obtain an SSL certificate from Let's Encrypt, 3) configure Crossbar to use SSL, 4) copy the SSL certificate and key files, 5) update Crossbar configuration, 6) update file permissions, 7) restart Crossbar, 8) configure the Monster UI to use the SSL endpoint, 9) update the Monster UI configuration file, 10) open necessary ports through the firewall, and 11-12) update Apache and Monster UI configuration files to use the SSL certificate.

Uploaded by

TheLite Within
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views4 pages

KAZOO VoIP Install SSL Latest

The document provides instructions to configure SSL for the Crossbar component of Kazoo on a CentOS server. It describes 12 steps to 1) create Apache virtual hosts, 2) obtain an SSL certificate from Let's Encrypt, 3) configure Crossbar to use SSL, 4) copy the SSL certificate and key files, 5) update Crossbar configuration, 6) update file permissions, 7) restart Crossbar, 8) configure the Monster UI to use the SSL endpoint, 9) update the Monster UI configuration file, 10) open necessary ports through the firewall, and 11-12) update Apache and Monster UI configuration files to use the SSL certificate.

Uploaded by

TheLite Within
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

yum install -y kazoo-application-acdc-4.2-48.el7.centos kazoo-application-blackhole-4.2-48.el7.

centos
kazoo-application-call_inspector-4.2-48.el7.centos kazoo-application-callflow-4.2-48.el7.centos
kazoo-application-cdr-4.2-48.el7.centos kazoo-application-conference-4.2-48.el7.centos kazoo-
application-crossbar-4.2-48.el7.centos kazoo-application-dth-4.2-48.el7.centos kazoo-application-
ecallmgr-4.2-48.el7.centos kazoo-application-fax-4.2-48.el7.centos kazoo-application-fax-4.2-
48.el7.centos kazoo-application-hangups-4.2-48.el7.centos kazoo-application-hotornot-4.2-
48.el7.centos kazoo-application-media_mgr-4.2-48.el7.centos kazoo-application-milliwatt-4.2-
48.el7.centos kazoo-application-notify-4.2-48.el7.centos kazoo-application-omnipresence-4.2-
48.el7.centos kazoo-application-pivot-4.2-48.el7.centos kazoo-application-registrar-4.2-48.el7.centos
kazoo-application-reorder-4.2-48.el7.centos kazoo-application-stepswitch-4.2-48.el7.centos kazoo-
application-sysconf-4.2-48.el7.centos kazoo-application-tasks-4.2-48.el7.centos kazoo-application-
teletype-4.2-48.el7.centos kazoo-application-trunkstore-4.2-48.el7.centos kazoo-application-
webhooks-4.2-48.el7.centos kazoo-configs-core-4.2-3.el7.centos kazoo-core-4.2-48.el7.centos kazoo-
sounds-core-en-us-4.2-0.el7.centos

First Step: create a v-host home directory eg, /etc/httpd/conf.d/voip2.litsip.com.conf

<VirtualHost *:80>

ServerAdmin [email protected]

DocumentRoot "/var/www/html"

ServerName hostedpbx.litsip.com

ServerAlias www.hostedpbx.litsip.com

</VirtualHost>

Second Step: Obtain SSL cert from LetsEncrypt.

Third Step: Create another v-host for crossbar port 7443 or 8443 & include cert path like below:

<VirtualHost *:7443>

ServerAdmin [email protected]

DocumentRoot "/var/www/html"

ServerName voip2.litsip.com:7443

SSLCertificateFile /etc/letsencrypt/live/voip2.litsip.com/cert.pem

SSLCertificateKeyFile /etc/letsencrypt/live/voip2.litsip.com/privkey.pem

Include /etc/letsencrypt/options-ssl-apache.conf

SSLCertificateChainFile /etc/letsencrypt/live/voip2.litsip.com/chain.pem

</VirtualHost>

Fourth Step: mkdir /opt/kazoo/applications/crossbar/priv/ssl/


Fifth Step:

cp /etc/letsencrypt/live/voip2.litsip.com/cert.pem
/opt/kazoo/applications/crossbar/priv/ssl/crossbar.crt

cp /etc/letsencrypt/live/voip2.litsip.com/privkey.pem
/opt/kazoo/applications/crossbar/priv/ssl/crossbar.key

Sixth Step:

"use_ssl": true,

"ssl_port": 7443,

"ssl_cert": "/opt/kazoo/applications/crossbar/priv/ssl/crossbar.crt",

"ssl_key": "/opt/kazoo/applications/crossbar/priv/ssl/crossbar.key",

Seventh Step:

chmod -R 777 /opt/kazoo/applications/crossbar/priv/ssl/crossbar.crt

chmod -R 777 /opt/kazoo/applications/crossbar/priv/ssl/crossbar.key

Eith Step:

sup kapps_controller restart_app crossbar

sup crossbar_maintenance init_apps /var/www/html/monster-ui/apps https://voip2.litsip.com:7443/v2

Ninth Step:

nano /var/www/html/monster-ui/js/config.js
define({

api: {

'default': 'https://voip2.litsip.com:7443/v2/'

},

whitelabel: {

companyName: 'Litsip Technologies',

applicationTitle: 'Litsip HostedPBX',

callReportEmail: '[email protected]',

nav: {

help: 'http://wiki.2600hz.com'

});

Tenth Step:

Port Forward 7443 or 8443 for crossbar or else won't be able to login.

REBOOT SERVER or else won't be able to login.

---------------------------------------------------------------------------------------------------------

Eleventh Step:

nano /etc/httpd/conf.d/ssl.conf

Replace these two:

SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key

with:

SSLCertificateFile /opt/kazoo/applications/crossbar/priv/ssl/crossbar.crt

SSLCertificateKeyFile /opt/kazoo/applications/crossbar/priv/ssl/crossbar.key

Twelve Step -> OLD for Monster-UI:

/bin/sed -i s/'api.zswitch.net'/voip.litsip.com/g /var/www/html/kazoo-ui/config/config.js

/bin/sed -i s/'v1'/v2/g /var/www/html/kazoo-ui/config/config.js

/bin/sed -i s/'8443'/7443/g /var/www/html/kazoo-ui/config/config.js

/bin/sed -i s/'http'/https/g /var/www/html/monster-ui/js/config.js

/bin/sed -i s/'localhost'/voip.litsip.com/g /var/www/html/monster-ui/js/config.js

/bin/sed -i s/'4443'/7443/g /var/www/html/monster-ui/js/config.js

You might also like