Skip to content

Instantly share code, notes, and snippets.

@Ghent
Created July 22, 2016 16:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ghent/0d3c3c6d2635f70ceec013fb26abff9a to your computer and use it in GitHub Desktop.
Save Ghent/0d3c3c6d2635f70ceec013fb26abff9a to your computer and use it in GitHub Desktop.
mozroots import
selene:~/tmp
[227] ghent$ mozroots --import
Mozilla Roots Importer - version 4.4.1.0
Download and import trusted root certificates from Mozilla's MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'...
Couldn't retrieve the file using the supplied information.
selene:~/opt/eco/4.2
[228] ghent$ wget https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
--2016-07-22 12:32:04-- https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
Resolving hg.mozilla.org... 63.245.215.25, 63.245.215.102
Connecting to hg.mozilla.org|63.245.215.25|:443... connected.
HTTP request sent, awaiting response... 200 Script output follows
Length: 1633400 (1.6M) [text/plain]
Saving to: ‘certdata.txt’
certdata.txt 100%[===================>] 1.56M 2.89MB/s in 0.5s
2016-07-22 12:32:05 (2.89 MB/s) - ‘certdata.txt’ saved [1633400/1633400]
selene:~/tmp
[229] ghent$ mozroots --import --ask-remove --file certdata.txt
Mozilla Roots Importer - version 4.4.1.0
Download and import trusted root certificates from Mozilla's MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
Importing certificates into user store...
194 new root certificates were added to your trust store.
Import process completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment