diff --git a/Makefile b/Makefile index ef0a765..6abc1e7 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,7 @@ certs-test: cp certs/sets/current/gen/crt/ca-untrusted-root.crt common/certs cp certs/sets/current/gen/crt/client.p12 common/certs/${TEST_DOMAIN}-client.p12 cp certs/sets/current/gen/crt/client.pem common/certs/${TEST_DOMAIN}-client.pem + cp certs/sets/current/gen/crt/client-nopass.pem common/certs/${TEST_DOMAIN}-client-nopass.pem .PHONY: certs-prod certs-prod: @@ -50,6 +51,7 @@ certs-prod: cp certs/sets/current/gen/crt/ca-untrusted-root.crt common/certs cp certs/sets/current/gen/crt/client.p12 common/certs/${PROD_DOMAIN}-client.p12 cp certs/sets/current/gen/crt/client.pem common/certs/${PROD_DOMAIN}-client.pem + cp certs/sets/current/gen/crt/client-nopass.pem common/certs/${PROD_DOMAIN}-client-nopass.pem .PHONY: clean-certs clean-certs: diff --git a/certs/Makefile b/certs/Makefile index 09b875e..a5cfe5b 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -73,7 +73,10 @@ $(O)/gen/crt/client.p12: $(O)/gen/crt/client.crt $(O)/gen/key/client.key ./tool gen-pkcs12-p12 $@ $(D) $^ $(O)/gen/crt/client.pem: $(O)/gen/crt/client.p12 ./tool pkcs12-convert-p12-pem $@ $(D) $^ +$(O)/gen/crt/client-nopass.pem: $(O)/gen/crt/client.p12 + ./tool pkcs12-convert-p12-pem-nopass $@ $(D) $^ CHAINS_PROD += $(O)/gen/crt/client.pem +CHAINS_PROD += $(O)/gen/crt/client-nopass.pem ################################ $(O)/gen/key/ca-untrusted-root.key: diff --git a/certs/tool b/certs/tool index e10ba4d..296ef23 100755 --- a/certs/tool +++ b/certs/tool @@ -72,6 +72,13 @@ pkcs12-convert-p12-pem) -passout "pass:$DOMAIN" \ -in $1 ;; +pkcs12-convert-p12-pem-nopass) + openssl pkcs12 \ + -out $OUT \ + -clcerts \ + -passin "pass:$DOMAIN" \ + -in $1 + ;; self-sign) openssl x509 -req -CAcreateserial \ -out $OUT \ diff --git a/domains/misc/badssl.com/download/index.html b/domains/misc/badssl.com/download/index.html index 5df51de..9435818 100644 --- a/domains/misc/badssl.com/download/index.html +++ b/domains/misc/badssl.com/download/index.html @@ -22,7 +22,7 @@
Download | -Password | +Passphrase | Format | @@ -36,6 +36,11 @@{{ site.domain }} |
PEM | +
{{ site.domain }}-client-nopass.pem | +— | +PEM | +