You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
465 B

13 years ago
#!/bin/bash
# Copy PHPki CAcert in the global cert store
# and run c_rehash
if [ -e /opt/phpki/phpki-store/CA/certs/cacert.pem ]; then
cp -f /opt/phpki/phpki-store/CA/certs/cacert.pem /etc/pki/tls/certs/cacert.pem
cp -f /opt/phpki/phpki-store/CA/certs/cacert.pem /home/e-smith/files/ibays/Primary/html/cacert.crt
13 years ago
chmod 644 /etc/pki/tls/certs/cacert.pem
chmod 644 /home/e-smith/files/ibays/Primary/html/cacert.crt
13 years ago
fi
/usr/bin/c_rehash /etc/pki/tls/certs/