Avoid the self-signed certificates warning
After you completed the PBX setting up, if get the self-signed certificates warning in the browser when you access PBX Web Portal by HTTPS or access the WebRTC client, please follow up on the below steps to solve it.
  1. 1.
    Purchase a Domain from the domain provider for your PBX, for example, Godaddy.
  2. 2.
    Add the A record in the Domain DNS zone, resolve the Domain to your PBX IP.
  3. 3.
    Purchase a certificate from the trust certificate provider, for example, Digicert, Thawte, GeoTrust, usually you will have two files, one is the certificate, another one is the private key. Note, please check the certificates for Nginx.
  4. 4.
    Sign in the PortSIP PBX Web Portal.
  5. 5.
    Click the left menu "Home > Summary", then click the "Setup Wizard", in step 1, enter your domain for the "Web Domain", click the Next button to complete the wizard.
  6. 6.
    Click the left menu "Home > Call Manager > Domain and Transport", if there has the TLS, WSS transport added, just delete the TLS and WSS transport.
  7. 7.
    Add the WSS and TLS transport with upload the purchased certificate files.
  8. 8.
    For Windows installation, restart the Windows Server directly.
  9. 9.
    For Linux installation, perform the below commands:
1
$ sudo docker exec -it portsip-pbx /bin/bash
2
$ supervisorctl stop nginx
3
$ supervisorctl stop gateway
4
$ supervisorctl start nginx
5
$ supervisorctl start gateway
Copied!
After restarted, you can sign in PortSIP PBX Web Portal by URL https://yourdomain.com:8887
If you don't use trusted certificate files for the WSS transport, you will get the browser warning and blocked when you use the WebRTC client.
Last modified 4mo ago
Copy link