bin/make-cert, bin/fix-cert-chain: Hack certificate chains for compatiblity.
[distorted-letsencrypt] / bin / make-cert
index 9dcf15b..a094a53 100755 (executable)
@@ -22,4 +22,6 @@ unset http_proxy
 cert=$home/cert/$tag
 cd $cert
 dehydrated -f $HOME/dehydrated-config.sh -fc -s req >full-chain.new
-mv full-chain.new full-chain
+fix-cert-chain full-chain.new >full-chain.fixed
+mv full-chain.fixed full-chain
+rm full-chain.new