给firefox添加BUILDIN证书 - XiZi's Blog

给firefox添加BUILDIN证书

Xizi posted @ 2013年8月18日 19:16 in 未分类 with tags firefox Buildin Cert , 3898 阅读

1. 需要NSS工具包(主要是addbuildin工具)

这里提供一个链接:http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_15_1_RTM/src/nss-3.15.1-with-nspr-4.10.tar.gz

2. 参照firefox源包根目录下的security/nss/lib/ckfw/builtins目录里面README文件的说明,添加自定义证书即可。

This README file explains how to add a builtin root CA certificate to NSS
or remove a builtin root CA certificate from NSS.

The builtin root CA certificates in NSS are stored in the nssckbi PKCS #11
module. The sources to the nssckbi module are in this directory.

I. Adding a Builtin Root CA Certificate

You need to use the addbuiltin command-line tool to add a root CA certificate
to the nssckbi module. In the procedure described below, we assume that the
new root CA certificate is distributed in DER format in the file newroot.der.

1. Add the directory where the addbuiltin executable resides to your PATH
environment variable. Then, add the directory where the NSPR and NSS shared
libraries (DLLs) reside to the platform-specific environment variable that
specifies your shared library search path: LD_LIBRARY_PATH (most Unix
variants), SHLIB_PATH (32-bit HP-UX), LIBPATH (AIX), or PATH (Windows).

2. Copy newroot.der to this directory.

3. In this directory, run addbuiltin to add the new root certificate. The
argument to the -n option should be replaced by the nickname of the root
certificate.

    % addbuiltin -n "Nickname of the Root Certificate" -t C,C,C < newroot.der >> certdata.txt
    % addbuiltin -n "Nickname of the Root Certificate" -t CT,C,C < newroot.der >> certdata.txt

4. Edit nssckbi.h to bump the version of the module.

5. Run gmake in this directory to build the nssckbi module.

6. After you verify that the new nssckbi module is correct, check in
certdata.txt and nssckbi.h.

II. Removing a Builtin Root CA Certificate

1. Change directory to this directory.

2. Edit certdata.txt and remove the root CA certificate.

3. Edit nssckbi.h to bump the version of the module.

4. Run gmake in this directory to build the nssckbi module.

5. After you verify that the new nssckbi module is correct, check in
certdata.txt and nssckbi.h.
Avatar_small
solarmovies 说:
2021年5月20日 06:13

These advanced websites like solarmovies higher than free video discussing websites. And a website with only a couple of hundred opinions will make a decent revenue for the webmaster.

Avatar_small
best ways to make mo 说:
2021年5月21日 09:50

Different simple alternatives to own some profits on the web are specialized publishing and tutoring jobs online.

Avatar_small
more info 说:
2021年6月07日 09:36

Cool stuff you have got and you keep update all of us.

Avatar_small
safe driver dubai 说:
2021年6月11日 20:20

The first and most apparent way to determine whether some body is a secure driver is dependant on how many accidents they've had.

Avatar_small
clothing 说:
2021年7月26日 23:27

Wholesale Directory of offprice dealers. Your source for wholesalers, importers, exporters, closeouts and wholesale products.

Avatar_small
HBSE 12th Question P 说:
2021年8月30日 23:19

Haryana Board Class 11th and 12th Standard of Senior Secondary Students can download Arts, Science, and Commerce stream study material with solved question papers for all medium general and vocational course SA-1, SA-2, FA-1, FA-2, term and annual final examination tests for government and private college students to the academic year of 2022. HBSE 12th Question Paper We have suggested to each General & Vocational course student of Haryana Bhiwani Board Senior Secondary 1st & 2nd-year candidate can contact subject experts of the college or class teacher to get subject wide practice question with sample model paper in chapter wide to each lesson of the course.

Avatar_small
Sakshi 10th Importan 说:
2022年5月09日 19:58

Andhra Pradesh 10th Important Question Papers 2023 for the academic year 2023. The Board of Secondary Education of Andhra Pradesh will release the AP 10th Previous Question Papers 2023 of 10th standard board exams shortly. Sakshi 10th Important Question Paper 2023 This being the exam season, lakhs of students would have written their exams and waiting nervously for the AP 10th Previous Question Papers 2023

Avatar_small
MIS Portal 说:
2022年7月30日 19:10

The Government of Haryana State has designed the School Management Information System for the welfare of Schools in the state. The school staff, teachers, and students have got direct access to the portal through which most of the services easily processed. The Government of Haryana State has designed the School Management Information System for the welfare of Schools in the state. MIS Portal The MIS Portal also referred to as Saksham Haryana Education Portal which is a one-stop website for every need of Schools in Haryana. The New aspirants can utilize this option to apply for their selected school form online by submitting the application form.

Avatar_small
dark web/deep web/d 说:
2022年8月20日 18:16

Another important part of link building involves choosing the right links. Because the dark web contains many link farms and spam sites, you need to be very careful what kind of links you choose to add to your website.  dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月20日 19:08

You will learn how to choose quality links and how to build links that will boost your page's rank in Google and other search engines. deep web

Avatar_small
dark web/deep web/d 说:
2022年8月20日 19:38

Because it is not viewable by search engines, it has become a favorite for people looking to make money on the Internet illegally.  dark web sites

Avatar_small
dark web/deep web/d 说:
2022年8月20日 20:05

This is a very effective way to generate income, especially if you can obtain a good deal. However, there are steps you can take to ensure you don't get scammed and that you only deal with established businesses. dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月20日 20:25

There are literally dozens of link farms and spam sites out there, so you must know what to look for. Look at the sites to see what they offer and how many visitors they receive. dark web

Avatar_small
dark web/deep web/d 说:
2022年8月20日 20:45

These can range anywhere from books on how to build model rockets to step by step instruction manuals on building model trucks.  work from home jobs

Avatar_small
dark web/deep web/d 说:
2022年8月20日 21:05

Some of them will even show you some of the best ways to do affiliate marketing. These include things like free sites and eBooks. affiliate marketing success


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee