Sipxcom works with two types of certificates:
1.Web certificate needed for system GUI and Unite Web -User portal
2. Sip certificate needed for TLS communication between Proxy and Phones
- To upload a (trusted) web certificate you need to generate a Certificate Signing Request that will be sent to a Certificate Authority. You can do this either by using internal CSR generation mechanism from Sipxcom or by using a different machine. If you are using a different machine you need to make sure that you will have your "private key" stored in a safe place and that you are using complete FQDN or you can ask for a wild-card certificate that should match your domain (go to step C.).
B Sent your csr file to a trusted authority to sign it.
C. If you receive any intermediary certificate from your CA you need to uploaded it here, if not you can skip this step:
D. if you used a different machine to issue your csr then you MUST import your private key (skip if you used sipxcom internal mechanism):
E. Import your signed certificate:
After you reconnect to system GUI you should see in your browser information about your newly signed(or not signed) certificate.
You can check the time of creation and content of ssl-web.crt and ssl-web.key from this path /etc/http/conf.d/ssl/ to make sure it matches your newly uploaded certificate and key (if needed).
If something goes wrong don't panic you can always access your system GUI from HTTP by using the below method:
a.service iptables stop
b.connect to http://Your_IP:12000/sipxconfig/app
c. Re-try adding the certificate or simply "Rebuild" sipxcom self signed certificate
Still having problems? then take a look at /var/log/sipxpbx/sipxconfig.log and /var/log/httpd also a service httpd restart may be needed.
Usually a key mismatch is the common problem, you can see this is in /var/log/httpd/ssl_error.log - depending on your certificate provider you will be able to re-key the certificate with the current ssl-web.key or you will need to submit a new CSR.
Very important: keep you initial ssl-web.key safe (copy to another machine). This is the key used when CSR was issued and if you hit Rebuild it will be overwritten.
2. Sip Certificate and how to upload CA to a polycom phone.
As mentioned earlier SIP Certificate is needed if you are planning to use TLS signaling between Phones and proxy.
Self signed sip certificate issued by sipxcom can be used simply by setting transport to TLS from Devices–> Line ---> Registration page.
Since polycom phones are auto-provisioned they will acquire Certifcate Autorithy corresponding to sipxcom file from the beginning.
If you are planning to use a signed sip certificate or a self signed certificate (as always don't forget to save your private key) you will need to upload the both under System–> Certificate --> Sip Certificate page
In order for clients (in this case phones ) to trust a certificate they need to have a valid CA file for the issues of the sip certificate they will receive. Since the new certificate is not created by sipxcom you will need to upload CA file to phones.
if you are using a softphone like zoiper you can do this by simply reaching to the menu that will let you upload CA.
If you are using a provisioned phone like polycom with firmware => 4.x you can create a custom config file with the following content
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd">
YOUR CERTIFICATE AUTHORITY FILE
Then go to Devices–> Devices Files–> Unmanaged TFTP and upload this custom file
Last go to Devices --> MAC–> Custom Configuration–> Select File name(exactly as the name of the cfg file uploaded at previous step) ---> Send profiles
This page needs your help to finish.