4 prog=$(readlink -e "$0")
5 . "${prog%/*}/../config.sh"
10 ## Pick out the certificate tag.
11 case $# in 0) fail_usage ;; esac
13 case $# in 0) ;; *) fail_usage ;; esac
17 ## Make sure there's no proxy. I get `urn:acme:error:badNonce' with high
18 ## probability if I use IPv6, so avoid rolling the dice.
24 dehydrated -f $HOME/dehydrated-config.sh -fc -s req >full-chain.new
25 fix-cert-chain full-chain.new >full-chain.fixed
26 mv full-chain.fixed full-chain