14 lines
277 B
Bash
14 lines
277 B
Bash
#!/bin/sh
|
|
#
|
|
# script for creating links to certificates and CRLs in the current directory
|
|
|
|
for cert in *.crt.pem
|
|
do
|
|
ln -s "${cert}" `openssl x509 -in "${cert}" -noout -hash`.0
|
|
done
|
|
|
|
for crl in *.crl.pem
|
|
do
|
|
ln -s "${crl}" `openssl crl -in "${crl}" -noout -hash`.r0
|
|
done
|