christian-korneck / firefox_add-certs Goto Github PK
View Code? Open in Web Editor NEWscript to add new CA certificates to the Firefox trusted certificate store on Windows
License: The Unlicense
script to add new CA certificates to the Firefox trusted certificate store on Windows
License: The Unlicense
currently add-certs.bat
on 64-bit machines looks for a 32-bit firefox installation in %programfiles(x86)%\Mozilla Firefox
. However, starting with Firefox 57.0 "Quantum", the Firefox installer installs a 64-bit build of Firefox in %programfiles%\Mozilla Firefox
on a 64-bit machine.
I am using windows 8 and firefox version 47 and I am not able to add cerificate. It compiles successfully without any error?Please provide some solution
Hello Christian,
It can work with 32 bit Firefox, but only 64 bit Firefox can't work succesfull. It can't add CA certificate to only 64 bit Firefox(doesn't have been setuping 32 bit firefox). Maybe certutil.exe adds CA cert to cert8.db, doesn't adds cert9.db. What can i do my CA certificate for to add 64 bit Firefox store. I am waiting your answers. Thanks.
Best regards.
Erbay Aşkın.
I got this message when "MSVCR120.dll missing".
Could you please upload the version without depend on this dll ?
This is easy to implement and allows to check, if your add operation was sucessfull. It would save people from having to face certutil itself ;-)
You just need to filter out the intermediate certificates that are saved in cert8.db also.
https://github.com/christian-korneck/firefox_add-certs/blob/master/add-certs.cmd#L24
and two other lines have a comma at the end -t "cTC,cTC,cTC",
c:\>bin\certutil.exe -H -A
-A Add a certificate to the database (create if needed)
-n cert-name Specify the nickname of the certificate to add
-t trustargs Set the certificate trust attributes:
trustargs is of the form x,y,z where x is for SSL, y is for S/MIME,
and z is for code signing. Use ,, for no explicit trust.
p prohibited (explicitly distrusted)
P trusted peer
c valid CA
T trusted CA to issue client certs (implies c)
C trusted CA to issue server certs (implies c)
u user cert
w send warning
g make step-up cert
-f pwfile Specify the password file
-d certdir Cert database directory (default is ~/.netscape)
-P dbprefix Cert & Key database prefix
-a The input certificate is encoded in ASCII (RFC1113)
-i input Specify the certificate file (default is stdin)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.