OpenSSL configuration examples
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.

cacrllink.sh 347B

12345678910111213141516
  1. #!/bin/sh
  2. #
  3. # script for creating links to certificates and CRLs in the current directory
  4. #
  5. # Author: Jan Dittberner <jan@dittberner.info>
  6. # Date: 2011-05-04
  7. for cert in *.crt.pem
  8. do
  9. ln -s "${cert}" `openssl x509 -in "${cert}" -noout -hash`.0
  10. done
  11. for crl in *.crl.pem
  12. do
  13. ln -s "${crl}" `openssl crl -in "${crl}" -noout -hash`.r0
  14. done