2

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

artem
  • 596
  • 2
  • 10
  • 28
  • What are you using that needs this file? – thinice Dec 02 '11 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 02 '11 at 23:28

2 Answers2

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

thinice
  • 4,676
  • 20
  • 38
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/
activedecay
  • 205
  • 1
  • 2
  • 6