Operating System installed is Centos Linux release 7.4.1708 (Core). I have installed PCF (Pivotal Cloud Foundry) locally on my pc. I'm trying to install a SSL certificate by using command cf dev trust
and output of this command is:
Error: failed to trust VM certificates: failed to open file: open /etc/pki/tls/certs/ca-bundle.crt: permission denied.
Can anyone help me resolve this issue?
I had the same problem and here is how I got it to work.
sudo setfacl -m u:[USERNAME]:rw /etc/ssl/certs/ca-bundle.crt
I just changed permission to rw of the certificate for the user and just
cf dev trust
got it to work.