- Joined
- Jul 2, 2020
- Messages
- 8
- Reaction score
- 0
First post, be gentle. I'm new to 3CX but not new to VoIP. I've seen a handful of posts on this so I figured I'd try to put all of the information here and hopefully people find it useful.
We're using GoDaddy certs and Yaelink phones for our installs. The phones don't provision over https without doing this:
Go grab the GoDaddy intermediate cert from here: https://ssl-ccp.godaddy.com/repository?origin=CALLISTO
Download the PEM for the one named GoDaddy Secure Server Certificate (Intermediate Certificate) - G2. This is the second cert listed and the name is gdig2.crt.pem.
Open the file in notepad and CTRL-A, CTRL-C.
SSH into your Debian 3CX server and cd to this directory: /var/lib/3cxpbx/Bin/nginx/conf/Instance1
nano your cert (host.name.com-crt.pem for example) and arrow key all the way to the line under -----END CERTIFICATE-----
Right-click paste the contents of the intermediate certificate into the window and CTRL-X, Y to close and save the file. If you cat the file you'll see two certificates back to back kinda like this:
-----BEGIN CERTIFICATE-----
stuff
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
stuff
-----END CERTIFICATE-----
Restart nginx - service nginx restart
Go to the GoDaddy cert checker and enter your host name in to verify it worked: https://ssltools.godaddy.com/views/certChecker
I've got a home office and have been playing around with Direct SIP registration for a couple days. Doing the above has allowed me to provision a fresh Yaelink phone without having to disable certificate checking or uploading a certificate to it. I know all about the SBC, this was something I wanted to figure out because I've done other systems where I didn't need one and I wanted to see if SIP over TLS would actually work. Now that I've got provisioning working correctly I'll move on to that.
I hope this helps and I hope I typed it all out correctly.
Tom
We're using GoDaddy certs and Yaelink phones for our installs. The phones don't provision over https without doing this:
Go grab the GoDaddy intermediate cert from here: https://ssl-ccp.godaddy.com/repository?origin=CALLISTO
Download the PEM for the one named GoDaddy Secure Server Certificate (Intermediate Certificate) - G2. This is the second cert listed and the name is gdig2.crt.pem.
Open the file in notepad and CTRL-A, CTRL-C.
SSH into your Debian 3CX server and cd to this directory: /var/lib/3cxpbx/Bin/nginx/conf/Instance1
nano your cert (host.name.com-crt.pem for example) and arrow key all the way to the line under -----END CERTIFICATE-----
Right-click paste the contents of the intermediate certificate into the window and CTRL-X, Y to close and save the file. If you cat the file you'll see two certificates back to back kinda like this:
-----BEGIN CERTIFICATE-----
stuff
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
stuff
-----END CERTIFICATE-----
Restart nginx - service nginx restart
Go to the GoDaddy cert checker and enter your host name in to verify it worked: https://ssltools.godaddy.com/views/certChecker
I've got a home office and have been playing around with Direct SIP registration for a couple days. Doing the above has allowed me to provision a fresh Yaelink phone without having to disable certificate checking or uploading a certificate to it. I know all about the SBC, this was something I wanted to figure out because I've done other systems where I didn't need one and I wanted to see if SIP over TLS would actually work. Now that I've got provisioning working correctly I'll move on to that.
I hope this helps and I hope I typed it all out correctly.
Tom