2

Debian 6, all libvirt packages are installed. The /etc/pki/ directory is missing. What package is responsible for it?

2
  • What are you using that needs this file?
    – thinice
    Dec 2, 2011 at 23:19
  • 1
    libvirtd --listen 00:27:48.198: error : remoteCheckCertFile:278 : Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
    – artem
    Dec 2, 2011 at 23:28

2 Answers 2

3

Not sure on Debian, but on Amazon Linux (CentOS):

rpm -q --whatprovides /etc/pki/CA
openssl-1.0.0e-2.16.amzn1.x86_64
openssl-1.0.0e-2.16.amzn1.i686

You could also look into a package called 'ca-certificates'

Edit: Following up on your error from the command, it looks like you'll have to follow the steps here

3
  • openssl & ca-certificates are installed.
    – artem
    Dec 2, 2011 at 23:27
  • I've edited my post with a link to the steps you should follow
    – thinice
    Dec 2, 2011 at 23:36
  • Hope that works - you'll need to fill in the gaps
    – thinice
    Dec 2, 2011 at 23:43
0

The thing that worked for me was to follow @thinice's Edit, above, using these steps here:

Setting up a Certificate Authority (CA)

certtool --generate-privkey > cakey.pem
cat > ca.info <<EOF
cn ACME Organization, Inc.
ca
cert_signing_key
EOF
certtool --generate-self-signed --load-privkey cakey.pem \
  --template ca.info --outfile cacert.pem
cp cacert.pem /etc/pki/CA/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .