~ubuntu-branches/ubuntu/saucy/openvpn/saucy-proposed

« back to all changes in this revision

Viewing changes to easy-rsa/1.0/make-crl

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2013-05-24 17:42:45 UTC
  • mfrom: (1.1.19) (10.2.22 sid)
  • Revision ID: package-import@ubuntu.com-20130524174245-g9y6wlforycufqy5
Tags: 2.3.1-2ubuntu1
* Merge from Debian unstable. Remaining changes:
  - debian/openvpn.init.d:
    + Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    + Show per-VPN result messages.
    + Add "--script-security 2" by default for backwards compatabliity.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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