Replacing expiring SSL certs

Status
Not open for further replies.

ElementalWindX

Bronze Partner
Advanced Certified
Joined
Oct 24, 2018
Messages
367
Reaction score
40
Anyone have a good method for automating replacing the expiring certs in many 3cx installs at the same time? Perhaps someone made a easy to use script?

Thanks!
 
Hi @ElementalWindX,

Just so anyone else reading this doesn't get confused, you are referring to custom FQDN's right? The certificates for 3CX FQDN will be automatically renewed without the need to intervene.
 
Hi @ElementalWindX,

Just so anyone else reading this doesn't get confused, you are referring to custom FQDN's right? The certificates for 3CX FQDN will be automatically renewed without the need to intervene.
Yep custom fqdn
 
  • Like
Reactions: VasilisV_3CX
Hi mate,
Install acme.sh on every server using your preferred automation tool and use regex to replace the ssl_certificate & ssl_certificate_key line in /etc/nginx/sites-enabled/3cxpbx
 
Hi mate,
Install acme.sh on every server using your preferred automation tool and use regex to replace the ssl_certificate & ssl_certificate_key line in /etc/nginx/sites-enabled/3cxpbx
What is acme.sh? Not familiar with that one.
*edit* oh you're referring to letsencrypt?

I guess that could work. Makes a lot of sense too.
 
What is acme.sh? Not familiar with that one.
LetsEncrypt client, use your preferred one if you have a preference
Don't forget to `nginx -t` and `sudo systemctl reload nginx`
 
Status
Not open for further replies.

Forum statistics

Threads
111,977
Messages
590,094
Members
164,906
Latest member
Nari