Not sure if this is in the correct category (sorry) but I would like cPanel to tweak the way that they generate combined SSL certs a tiny bit.
Let's say that I develop an app in a given cPanel account ("A-user") then I cannot even access my own SSL certs, because they're all owned by root in
/var/cpanel/ssl/apache_tls/A-user/combined
I understand A-user should not be able to read B-user's certs, but cPanel could at least tweak the certs generation so that they're owned by the given cPanel users... at least?!
How am I supposed to grab them e.g. from a PHP script? Nowadays there are many apps that use Secure WebSocket and other raw socket technologies that need the SSL cert to be able to encrypt the DATA stream to the client browsers so cPanel users need to be able to grab the combined SSL cert from /var/cpanel/ssl/apache_tls/A-user/combined
What I did for now is to manually copy them with the root user and then chown them to the cPanel account, but since cPanel now regenerates those certs every 3 months (!?) then I would have to manually copy and chown again those combined SSL certs every 2-3 months? This makes no sense. Multiply that annoyance by 10, 20 or 50 apps?
If it's too complicated for cPanel to generate the combined SSL certs owned by each individual users, then how about just doing the same as before except also making a copy of them in the users' home directories? e.g. also dump a copy of A-user's certs in /home/A-user/mycerts/combined and chown it as A-user?
Thx
Let's say that I develop an app in a given cPanel account ("A-user") then I cannot even access my own SSL certs, because they're all owned by root in
/var/cpanel/ssl/apache_tls/A-user/combined
I understand A-user should not be able to read B-user's certs, but cPanel could at least tweak the certs generation so that they're owned by the given cPanel users... at least?!
How am I supposed to grab them e.g. from a PHP script? Nowadays there are many apps that use Secure WebSocket and other raw socket technologies that need the SSL cert to be able to encrypt the DATA stream to the client browsers so cPanel users need to be able to grab the combined SSL cert from /var/cpanel/ssl/apache_tls/A-user/combined
What I did for now is to manually copy them with the root user and then chown them to the cPanel account, but since cPanel now regenerates those certs every 3 months (!?) then I would have to manually copy and chown again those combined SSL certs every 2-3 months? This makes no sense. Multiply that annoyance by 10, 20 or 50 apps?
If it's too complicated for cPanel to generate the combined SSL certs owned by each individual users, then how about just doing the same as before except also making a copy of them in the users' home directories? e.g. also dump a copy of A-user's certs in /home/A-user/mycerts/combined and chown it as A-user?
Thx
Last edited: