Hi,
from cPanel with cPanel (powered by Sectigo) Auto SSL I automatically generate the SSL certificates for my domains and the *.crt and *.key files are saved in the SSL folder related to the domain.
In my node.js applications, to create a https server with node.js, I call the *.cert and *.key files. So far so good, but every 90 days those files are regenerated so I have to change them manually in all applications.
Is there a way to automatically rename the .crt and .key files generated by cPanel and cPanel (powered by Sectigo) (or set a default name) so I don't always have to change the filename in the node application?
Example.
1 - abc.crt and def.key generated on 1/1/2019
2 - ghi.crt and lmn.key generated on 1/4/2019
I would like both the 1 and 2 examples files to always be called "cert.crt" and "key.key".
Thank you!
from cPanel with cPanel (powered by Sectigo) Auto SSL I automatically generate the SSL certificates for my domains and the *.crt and *.key files are saved in the SSL folder related to the domain.
In my node.js applications, to create a https server with node.js, I call the *.cert and *.key files. So far so good, but every 90 days those files are regenerated so I have to change them manually in all applications.
Is there a way to automatically rename the .crt and .key files generated by cPanel and cPanel (powered by Sectigo) (or set a default name) so I don't always have to change the filename in the node application?
Example.
1 - abc.crt and def.key generated on 1/1/2019
2 - ghi.crt and lmn.key generated on 1/4/2019
I would like both the 1 and 2 examples files to always be called "cert.crt" and "key.key".
Thank you!
Last edited: