diff options
author | Stef Walter <stefw@gnome.org> | 2013-01-30 15:50:02 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-02-05 15:00:25 +0100 |
commit | 39e9f190416ecb4260a3b079e1d79fc2e55f5a33 (patch) | |
tree | d5fb48883d20a3a73f7153971a6e3265b8a06535 /build | |
parent | dbcf3c049f4aadc1d25eb952b4feabdec14cf35d (diff) |
Add support for exporting OpenSSL's TRUSTED CERTIFICATE format
Diffstat (limited to 'build')
-rw-r--r-- | build/certs/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/certs/Makefile.am b/build/certs/Makefile.am index 1c30521..4428a2e 100644 --- a/build/certs/Makefile.am +++ b/build/certs/Makefile.am @@ -16,6 +16,15 @@ prepare-certs: openssl x509 -in cacert3.der -inform DER -out $(TRUST)/files/cacert3-trusted.pem \ -addtrust clientAuth -addtrust serverAuth -addreject emailProtection \ -setalias "Custom Label" + cp $(TRUST)/files/cacert3-trusted.pem $(TOOLS)/files/cacert3-trusted-client-server-alias.pem + openssl x509 -in cacert3.der -inform DER -out $(TOOLS)/files/cacert3-trusted-alias.pem \ + -setalias "Custom Label" + openssl x509 -in cacert3.der -inform DER -out $(TOOLS)/files/cacert3-distrust-all.pem \ + -addreject serverAuth -addreject clientAuth -addreject codeSigning \ + -addreject emailProtection -addreject ipsecEndSystem -addreject ipsecTunnel \ + -addreject ipsecUser -addreject timeStamping + cat $(TOOLS)/files/cacert3-trusted-client-server-alias.pem \ + $(TOOLS)/files/cacert3-trusted-alias.pem > $(TOOLS)/files/cacert3-trusted-multiple.pem cp -v cacert-ca.der $(TRUST)/certificates cp -v cacert-ca.der $(TRUST)/files openssl x509 -in redhat-newca.der -inform DER -out $(TRUST)/files/distrusted.pem \ |