Question Can I automate SSL renewal using a custom PFX/CRT certificate (Not Let's Encrypt)?

peteeeeeee

New Pleskian
Server operating system version
CentOS Linux 7.9
Plesk version and microupdate number
Plesk Obsidian 18.0.77 Update #5
With the industry moving toward much shorter SSL lifespans, is there a way to automate this process for a domain?

Currently, my manual workflow is:
  1. Receive a .pfx file from the client.
  2. Extract the .crt and .key files using a password.
  3. Upload and update the certificate via Plesk > Subscription > Domain > SSL/TLS Certificates.
Any advice or example scripts would be greatly appreciated.
Thanks!
 
If your certificate provider supports the ACME protocol, you'd be able to use the ACME extension to automate to whole process (requesting, issuing, validation, installation).

If not, you'll have to get creative and write your own script. For which you can use the Plesk CLI certificate utility alongside with OpenSSL to handle pfx file.
 
Last edited:
Back
Top