Allow user to change Apache certs by FTP+Apache reboot
Hi!
One user needs to change the certs for it's Apache domains in an automatic way.
It seems the user certs are on /home//ssl/certs and /home//ssl/keys
The user tried to upload to that directory the new crt and key files within FTP and we restarted Apache, but the loaded certificates on Apache seem to be the older ones yet.
It's there any way to allow the user to do that?
Regards,
If we enter on SSL/TLS and enter on the certificates CRT option and edit one "updated by FTP" cert the cPanel website show the good expiration date of the current physical file. But the cPanel doesn't updates it and doesn't writes/shows the new certificate on Apache.
-
Hello, The end-user would need to use the following UAPI function, as manually replacing the SSL files via FTP is not a supported method of reinstalling a SSL certificate: UAPI Functions - SSL::install_ssl - Software Development Kit - cPanel Documentation The following document is also helpful for setting up a custom script to use this UAPI function: Tutorial - Call UAPI's SSL::install_ssl Function in Custom Code - Software Development Kit - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
1 comment