Sha256: cf44c8781fa44710ae7cfdd1917db622e2ffd39452b8c195e12b06f2a7c45f79

Contents?: true

Size: 519 Bytes

Versions: 16

Compression:

Stored size: 519 Bytes

Contents

#!/bin/bash

cert_file=$(ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE' 2>/dev/null)
echo 'What is the uri to your organizations root certificate chain?'
read -p 'org_root_chain: ' org_root_chain
echo "$org_root_chain"
curl "$org_root_chain" -o org_chain.txt
cat org_chain.txt >> "$cert_file"
mkdir -p "${cert_file%/*}"
security find-certificate -a -p /Library/Keychains/System.keychain > "$cert_file"
security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain >> "$cert_file"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ufo-5.0.7 docs/utils/update-cert-chains.sh
ufo-5.0.6 docs/utils/update-cert-chains.sh
ufo-5.0.5 docs/utils/update-cert-chains.sh
ufo-5.0.4 docs/utils/update-cert-chains.sh
ufo-5.0.3 docs/utils/update-cert-chains.sh
ufo-5.0.2 docs/utils/update-cert-chains.sh
ufo-5.0.1 docs/utils/update-cert-chains.sh
ufo-5.0.0 docs/utils/update-cert-chains.sh
ufo-4.6.3 docs/utils/update-cert-chains.sh
ufo-4.6.2 docs/utils/update-cert-chains.sh
ufo-4.6.1 docs/utils/update-cert-chains.sh
ufo-4.6.0 docs/utils/update-cert-chains.sh
ufo-4.5.11 docs/utils/update-cert-chains.sh
ufo-4.5.10 docs/utils/update-cert-chains.sh
ufo-4.5.9 docs/utils/update-cert-chains.sh
ufo-4.5.8 docs/utils/update-cert-chains.sh