Install certificates on 3CX PBX

What you need is the following

  • Debian with SSH enabled and sudo permissions
  • 3CX PBX installed
  • Valid certificates (yourCertificate.pem, yourPrivateKey.pem)
  • Winscp
  • Putty

 

How to

  1. Open WinSCP and connect to your 3CX PBX

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

  3. Logon to your 3CX PBX server via SSH

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

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

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

 

Comments

Loading Comments...