3 ms·
Use this command to extract the list of root certificates: security find-certificate -a -p > all-certs.pem You can then dump each certificate: split
by dolmen 6y ago
Use this command to extract the list of root certificates:
security find-certificate -a -p > all-certs.pem
You can then dump each certificate:
split -p "-----BEGIN CERTIFICATE-----" all-certs.pem cert-
openssl x509 -text -in cert-aa
openssl x509 -text -in cert-ab
...