4 . "${0%/*}/../config.sh"
9 ## Pick out the certificate tag.
10 case $# in 0) fail_usage ;; esac
12 case $# in 0) ;; *) fail_usage ;; esac
19 openssl req -in req -out $tmp/req.der -outform der
20 sans=$(openssl req -in req -text -noout |
23 /^ *X509v3 Subject Alternative Name: $/ {
33 $home/letsencrypt/letsencrypt-auto -c "$tmp/le.conf" --text \
34 -a webroot --csr $tmp/req.der certonly
37 cat $tmp/0001_chain.pem $home/le-root.cert >full-chain.new
38 mv full-chain.new full-chain