Update Certificates
Prerequisite
Before updating the certificates for the PBX and SBC, please make sure that you have completed the setup and configuration of the PBX and SBC according to the following guides.
Installation of the PortSIP PBX.
After completing the Preparing TLS Certificates step, you will have the portsip.pem
and portsip.key
files. You can use these files to update the certificates for the PortSIP PBX and PortSIP SBC.
In this article, we assume that the domain uc.portsip.cc
is resolved to the IP address of the PBX server and that sbc.portsip.cc
is resolved to the IP address of the SBC server.
Update Certificates for PBX
Updating Certificates
To update the certificates for the PortSIP PBX, please follow these steps:
Sign in to the PBX Web Portal as the system administrator.
Click the Setup Wizard button on the home page.
Click the Clear button in step 2 of the Setup Wizard.
Enter your PBX web domain into the Web Domain field. Note that you do not need to include the
https
orwww.
prefixes, just enter the domain itself. For example,uc.portsip.cc
.Open the
portsip.pem
file by Windows Notepad, copy all of its contents and paste them into the Certificate File field.Open the
portsip.key
file by Windows Notepad, copy all of its contents and paste them into the Private Key File field.Click the
Next
button to complete the Setup Wizard and save the certificates.
Restarting Service
To apply the changes to the certificates, open an SSH connection to the server and execute the following commands for Linux.
For Windows, just restart the server directly.
If your browser still displays an icon indicating that the site is not secure, please try opening the web portal in a new browser tab. This should resolve the issue and display the sites correctly.
Update Certificates for SBC
Updating Certificate
To update the certificates for the PortSIP SBC, please follow these steps:
Sign in to the SBC Web Portal as the system administrator.
Select the TLS Certificates menu.
If there is already a TLS certificate for your SBC domain, please delete it by clicking the delete icon.
Click the Add button to add a new TLS certificate. If your certificate is a wildcard certificate for the
portsip.cc
domain, you will just need to enterportsip.cc
in the TLS Domain field. If your certificate is not a wildcard and is only for a single domain, such assbc.portsip.cc
, then you will need to entersbc.portsip.cc
in the TLS Domain field.The This is SBC Web Domain Certificate option should be turned on unless you are sure that this domain is only for SIP TLS transport.
Open the
portsip.pem
file by Windows Notepad, copy all of its contents and paste them into the Certificate Contents field.Open the
portsip.key
file by Windows Notepad, copy all of its contents and paste them into the Private Contents field.
Click the OK button to save the certificates. Then, select the Network menu, enter
sbc.portsip.cc
in the Web Domain field, and click the OK button to save your changes.
Restarting Services
To apply the changes to the certificates, open an SSH connection to the server and execute the following commands for Linux.
For Windows, just restart the server directly.
If your browser still displays an icon indicating that the site is not secure, please try opening the web portal in a new browser tab. This should resolve the issue and display the sites correctly.
Last updated