Skip to content

Instantly share code, notes, and snippets.

View dfelton's full-sized avatar

Darren Felton dfelton

View GitHub Profile
@dfelton
dfelton / update-ca-certificates.md
Last active January 21, 2022 04:28 — forked from epcim/update-ca-certificates.md
trusted certificates system update-ca-certificates

Adding trusted root certificates to the server

Mac OS X

# Adding Certificate Authority
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ca-filename.crt

# Adding Certificate trusted for SSL
sudo security add-trusted-cert -d -k /Library/Keychains/System.keychain -r trustAsRoot -p ssl filename.crt