Install certificates on 3CX PBX

What you need is the following

  • Debian with SSH enabled and sudo permissions
  • 3CX PBX installed
  • Valid certificates (e.g. pem, crt & key)
  • Winscp
  • Putty


How to

  1. Open WinSCP and connect to your 3CX PBX

  2. Upload your certs (yourCertificate.crt, yourPrivateKey.key) to your home folder

  3. Logon to your 3CX PBX server via SSH

  4. Copy your certs to the 3CX instance:
    sudo cp /certLocation/yourCertificate.crt /var/lib/3cxpbx/Bin/nginx/conf/Instance1/yourCertificate.crt
    sudo cp /certLocation/yourCertificate.key /var/lib/3cxpbx/Bin/nginx/conf/Instance1/yourPrivateKey.pem

  5. Edit your nginx config:
    nano /var/lib/3cxpbx/Bin/nginx/conf/nginx.conf
    ssl_certificate /var/lib/3cxpbx/Bin/nginx/conf/Instance1/yourCertificate.crt;
    ssl_certificate_key /var/lib/3cxpbx/Bin/nginx/conf/Instance1/yourPrivateKey.key;

  6. Restart the nginx service (or reboot your server)
    sudo systemctl restart nginx



Loading Comments...