Hi all,
Are jailshell users supposed to have access to these files?
curl: (77) Problem with the SSL CA cert (path? access rights?)
which seems to be because they don't have access to these files (the actual files, not the symlinks). Indeed the actual files have 444 permissions and are owned by root.
There was a cPanel internal case 80653 which was for allowing jailshell users access to these certificate verification files, but the case only refers to the filenames in /etc/pki/tls/certs/ which are now symlinks, not the newer filenames. I'm wondering whether this position was reversed, perhaps because it subsequently became a security risk for these files to be accessible by jailshell users...?
This lack of access is present on all servers I run (CentOS 6 and 7) so I'm thinking that there was a change at some point, but I can't find it.
So, is it safe for jailshell users to have access to these files, and if so what's the official (or otherwise best) way to achieve this, so that users can for example use curl without issues (and without using -k to supress the errors)?
Thanks
neilb2
Are jailshell users supposed to have access to these files?
- /etc/pki/tls/certs/ca-bundle.crt which is a symlink to /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
- /etc/pki/tls/certs/ca-bundle.trust.crt which is a symlink to /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
curl: (77) Problem with the SSL CA cert (path? access rights?)
which seems to be because they don't have access to these files (the actual files, not the symlinks). Indeed the actual files have 444 permissions and are owned by root.
There was a cPanel internal case 80653 which was for allowing jailshell users access to these certificate verification files, but the case only refers to the filenames in /etc/pki/tls/certs/ which are now symlinks, not the newer filenames. I'm wondering whether this position was reversed, perhaps because it subsequently became a security risk for these files to be accessible by jailshell users...?
This lack of access is present on all servers I run (CentOS 6 and 7) so I'm thinking that there was a change at some point, but I can't find it.
So, is it safe for jailshell users to have access to these files, and if so what's the official (or otherwise best) way to achieve this, so that users can for example use curl without issues (and without using -k to supress the errors)?
Thanks
neilb2