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.
Purchase a Domain from the domain provider for your PBX, for example, Godaddy.
Add the A record in the Domain DNS zone, resolve the Domain to your PBX IP.
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.
Sign in the PortSIP PBX Web Portal.
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.
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.
Add the WSS and TLS transport with upload the purchased certificate files.
For Windows installation, restart the Windows Server directly.
For Linux installation, perform the below commands: