repo.or.cz
/
anytun.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
svn cleanup
[anytun.git]
/
openvpn
/
easy-rsa
/
make-crl
blob
62fe6c132df0ac5e8386c858168fcbab5fafe5e8
1
#!/bin/sh
2
3
#
4
# generate a CRL
5
#
6
#
7
8
if
test
$#
-ne
1
;
then
9
echo
"usage: make-crl <crlfile.pem>"
;
10
exit
1
11
fi
12
13
if
test
$KEY_DIR
;
then
14
cd
$KEY_DIR
&&
\
15
openssl ca
-gencrl -out
$1
-config
$KEY_CONFIG
16
else
17
echo
you must define KEY_DIR
18
fi