Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to install a certificate with NSS certutil in Firefox?

  • 2 trả lời
  • 1 gặp vấn đề này
  • 4 lượt xem
  • Trả lời mới nhất được viết bởi whyN

more options

I use the NSS certutil tool from Mozilla to install a certificate in Firefox:

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/tools/NSS_Tools_certutil

The commands are listed in the link. Someone used with certificate and commands should be able to understand my problem.

From the parameters I use, the following (I indicate the reason for, because I may be wrong):

-A : so if the cert8.db doesn't exist, it creates one.

-n : for this one I don't understand. From my understanding this should be the same as -i? So I set the same thing

-i : certificate name + location

-t : truast arguments

-d : path + name of certificate database

So my code is the following:

set cert8dbPath=%userprofile%\Application Data\Mozilla\Firefox\Profiles\%randomalphanum%.default\cert8.db set certName="FiddlerRoot.cer"

certutil.exe -A -n "%certName%" -i "%certName%" -t "TCu,TCu,TCu" -d "%cert8dbPath%"

I got this error, any idea?

certutil.exe: function failed: Failure to load dynamic librarty error 126

I use the NSS certutil tool from Mozilla to install a certificate in Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/tools/NSS_Tools_certutil The commands are listed in the link. Someone used with certificate and commands should be able to understand my problem. From the parameters I use, the following (I indicate the reason for, because I may be wrong): -A : so if the cert8.db doesn't exist, it creates one. -n : for this one I don't understand. From my understanding this should be the same as -i? So I set the same thing -i : certificate name + location -t : truast arguments -d : path + name of certificate database So my code is the following: set cert8dbPath=%userprofile%\Application Data\Mozilla\Firefox\Profiles\%randomalphanum%.default\cert8.db set certName="FiddlerRoot.cer" certutil.exe -A -n "%certName%" -i "%certName%" -t "TCu,TCu,TCu" -d "%cert8dbPath%" I got this error, any idea? certutil.exe: function failed: Failure to load dynamic librarty error 126

Tất cả các câu trả lời (2)

more options

Do basic command switches work like showing the help message (certutil -H)?

more options

cor-el said

Do basic command switches work like showing the help message (certutil -H)?

I have the definition there (I entered what I understood, maybe I'm wrong?)

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/tools/NSS_Tools_certutil