GithubHelp home page GithubHelp logo

Comments (3)

bagder avatar bagder commented on April 28, 2024

In debian certutil comes in the libnss3-tools package. The *default dir is what the script assumes your Firefox data should be in. Where's yours?

from curl.

sneakyimp avatar sneakyimp commented on April 28, 2024

Thanks for the tip RE: certutils.

I'm not sure exactly which folder you are looking for, but it looks like the firefox 'default' dir has its name altered to add some randomized bits both before and after the word default. I've changed some of the chars here but you should get the idea:

$ ls -al ~/.mozilla/firefox
total 20
drwx------  4 sneakyimp sneakyimp 4096 Aug 22  2014 .
drwx------  4 sneakyimp sneakyimp 4096 Oct 25  2013 ..
drwx------  5 sneakyimp sneakyimp 4096 Apr  6 17:37 Crash Reports
-rw-rw-r--  1 sneakyimp sneakyimp  132 Aug 22  2014 profiles.ini
drwx------ 16 sneakyimp sneakyimp 4096 Apr  7 14:29 uXXXXXXX.default-1234567890123

so that would be

/home/sneakyimp/.mozilla/firefox/uXXXXXXX.default-1234567890123

And inside that directory there's a file called cert8.db which appears to contain the CA bundle.

I have installed libnss3-tools and altered this line:

db=`ls -1d $HOME/.mozilla/firefox/*default`

to this:

db=`ls -1d $HOME/.mozilla/firefox/*default*`

And it seems to run, generating a ca-bundle.crt file which looks to be PEM encoded.

from curl.

bagder avatar bagder commented on April 28, 2024

Thanks, fixed in 7fe172d

from curl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.