summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-01-08 23:47:18 +0100
committerJan Pokorný <jpokorny@redhat.com>2014-01-08 23:47:18 +0100
commit1a0a5e331ea82bfda7f45a8312e0db3d9410ef83 (patch)
treeea18ee679e865760b6945816ed8df3fbeb676e5a
parent0008f663dab70331ba98e71007ec25fe7e006491 (diff)
downloaddotfiles-1a0a5e331ea82bfda7f45a8312e0db3d9410ef83.tar.gz
dotfiles-1a0a5e331ea82bfda7f45a8312e0db3d9410ef83.tar.xz
dotfiles-1a0a5e331ea82bfda7f45a8312e0db3d9410ef83.zip
Firstrun scripts: 00-certs-common: add certs for Fedora git/https
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--scripts/firstrun/00-certs-common14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/firstrun/00-certs-common b/scripts/firstrun/00-certs-common
index 2c496c9..10c8325 100644
--- a/scripts/firstrun/00-certs-common
+++ b/scripts/firstrun/00-certs-common
@@ -17,6 +17,20 @@ source ./cert-def
https://www.digicert.com/CACerts/DigiCertHighAssuranceEVCA-1.crt
./cert-import homebundle -nocrl www.github.com
+# Fedora HTTPS git clones
+# first for https://www.geotrust.com itself (Primary CA + Extended Validation)
+./cert-import homebundle -nocrl \
+ https://www.geotrust.com/resources/extended-validation-ssl/certs/Equifax%20Secure%20Certificate%20Authority.crt \
+ https://www.geotrust.com/resources/extended-validation-ssl/certs/GTPCA.cer \
+ https://www.geotrust.com/resources/extended-validation-ssl/certs/GTEVCA.cer
+# ... then for GeoTrust's ones for Fedora (Global CA)
+./cert-import homebundle -nocrl \
+ https://www.geotrust.com/resources/root_certificates/certificates/GeoTrust_Global_CA.pem
+## ... and GeoTrust SSL CA (not available as file?)
+#wget -nv --ca-certificate "${HOMEBUNDLE}" https://www.geotrust.co.jp/resources/repository/intermediate.html -O- \
+# | xmllint --html --xpath "/html/body//h2[@id='a131206']/following-sibling::div[1]/table/tbody//textarea/text()" -
+#./cert-import homebundle -nocrl fedorahosted.org
+
# npm (prerequisite: GitHub)
NPMCA_SRC="https://raw.github.com/isaacs/npm/master/node_modules/npmconf/config-defs.js"
wget -nv --ca-certificate "${HOMEBUNDLE}" -O - -- "${NPMCA_SRC}" \