From 285eb60d45ee2ea8474c4f85e884efeac1abc736 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 1 Jul 2022 21:51:25 +0200 Subject: [PATCH] add loop for Apple.pem --- etc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/README.md b/etc/README.md index e01cef5..ac647a9 100644 --- a/etc/README.md +++ b/etc/README.md @@ -14,7 +14,7 @@ The certificate trust stores were retrieved from --> "Keychain Access" (2 click). In that window --> "Keychains" --> "System Root" --> "Category" --> "All Items" Select all CA certificates except for "Developer ID Certification Authority", omit expired ones, "File" --> "Export Items" - 2. __Internet:__ Pick the latest subdir (=highest number) from https://opensource.apple.com/source/security_certificates/. They are in DER format despite their file extension. Download them with ``wget --level=1 --cut-dirs=5 --mirror --convert-links --adjust-extension --page-requisites --no-parent https://opensource.apple.com/source/security_certificates/security_certificates-/certificates/roots/`` + 2. __Internet:__ Pick the latest subdir (=highest number) from https://opensource.apple.com/source/security_certificates/. They are in DER format despite their file extension. Download them with ``wget --level=1 --cut-dirs=5 --mirror --convert-links --adjust-extension --page-requisites --no-parent https://opensource.apple.com/source/security_certificates/security_certificates-/certificates/roots/``. Then: ``for f in *.cer *.crt; do echo $f >/dev/stderr; openssl x509 -in $f -inform DER -outform PEM ;done >/tmp/Apple.pem`` Google Chromium uses basically the trust stores above, see https://www.chromium.org/Home/chromium-security/root-ca-policy.