SSL VPN Certificates - issue and renewal - Debian

Status
Not open for further replies.

CSerpent

Silver Partner
Basic Certified
Joined
Jun 22, 2021
Messages
60
Reaction score
9
I spent a whack of time earlier this week trying to piece together the correct way to renew the SSL cert for our full non-3CX-FQDN server. For the benefit of others, I just wanted to share the procedure of how to sort your own SSL cert. We use thesslstore for our cert, but so long as your provider issues PEM certs, you should be fine.

--

SSH into your server and elevate to root

cd /var/lib/3cxpbx/Bin/nginx/conf/Instance1

openssl req -new -newkey rsa:2048 -nodes -keyout [your.fqdn].key -out [your.fqdn].csr

Fill in details, issue CSR to SSL provider, authorise issue.

Download Individual .crt files with a .pem extension, extract files

Upload extracted files via WinSCP / FileZilla / client of your choice to /var/lib/3cxpbx/Bin/nginx/conf/Instance1

mv [your.fqdn].key [your.fqdn]-key.pem
mv [your.fqdn].pem [your.fqdn]-crt.pem

systemctl restart nginx

--

I hope that helps anyone encountering this issue.
 
  • Like
Reactions: CSerpent
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,075
Members
164,895
Latest member
jasonkkrause