Skip to content

Instantly share code, notes, and snippets.

@thomasdarimont
Created August 6, 2019 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasdarimont/eb10b9376311df614c926ad073bfd72f to your computer and use it in GitHub Desktop.
Save thomasdarimont/eb10b9376311df614c926ad073bfd72f to your computer and use it in GitHub Desktop.
certutil

List locally trusted certifcates

certutil -d sql:$HOME/.pki/nssdb -L

Add locally trusted certifcate

certutil -d sql:$HOME/.pki/nssdb -D -t "P,," -n ~/Downloads/apps.tdlabs.local.crt -i ~/Downloads/apps.tdlabs.local.crt

Delete locally tristed certificate

certutil -d sql:$HOME/.pki/nssdb -D -n app1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment