From 1a0a5e331ea82bfda7f45a8312e0db3d9410ef83 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Wed, 8 Jan 2014 23:47:18 +0100 Subject: Firstrun scripts: 00-certs-common: add certs for Fedora git/https MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- scripts/firstrun/00-certs-common | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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}" \ -- cgit