AutoSSL create new certificate

MaximK

Registered
May 20, 2018
2
0
1
Philippine
cPanel Access Level
Root Administrator
Good day everyone.

I use cPanel with AutoSSL (powered by Comodo). It's work good? but i also use node.js application that also use certificate and every time when autoSSL update certificate it create new certificate and key and my app stop working because old keys and certificate expired.

There is any way to restrict create new key or if it not possible just create key and certificate with same filename?

upload_2018-8-13_16-26-19.png
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,902
2,226
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @MaximK,

Certificates issued through the AutoSSL feature are automatically updated and renewed when needed (they expire every 90 days). Thus, the certificate and key values will change. You may want to consider setting up a script that checks for changes to the domain's SSL certificate and then automatically updates your Node.JS application to utilize the new certificate information when needed. You could configure the script to run automatically as part of the AutoSSL::installssl hook documented at:

Guide to Standardized Hooks - Whostmgr Functions - Developer Documentation - cPanel Documentation

Thank you.