Haitao Huo
2018-07-18 07:36:28 UTC
I'm doing experiments to add an EV root to my own build Chromium. Refer to
commit 3daa25b
<https://chromium.googlesource.com/chromium/src/+/3daa25b46109954c71f1a5791e3464a54b2973a6>,
I did below local changes:
1. Generate a root CA by below commands:
$ openssl genrsa -out TestRootCA.key 2048
$ openssl genrsa -des3 -out TestRootCA.key 2048
$ openssl req -x509 -new -nodes -key TestRootCA.key -sha256 -days 1024 -out
TestRootCA.pem
2. Bump the CA file into ./src/net/data/ssl/ev_roots/
$ openssl x509 -text -in TestRootCA.pem > $(openssl x509 -fingerprint
-noout -in TestRootCA.pem -sha256 |awk -F= '{print $2}' | sed
's/.*/\L&/g'|sed 's/://g').pem
3. Add new record to kEvRootCaMetadata in src
<https://cs.chromium.org/chromium/src/>/net
<https://cs.chromium.org/chromium/src/net/>/cert
<https://cs.chromium.org/chromium/src/net/cert/>/ev_root_ca_metadata.cc
<https://cs.chromium.org/chromium/src/net/cert/ev_root_ca_metadata.cc?l=50>
4. Rebuild chrome and check the Manage Certificates->Authorities in
Settings.
But I did not find my root CA listed. Any steps I missed?
commit 3daa25b
<https://chromium.googlesource.com/chromium/src/+/3daa25b46109954c71f1a5791e3464a54b2973a6>,
I did below local changes:
1. Generate a root CA by below commands:
$ openssl genrsa -out TestRootCA.key 2048
$ openssl genrsa -des3 -out TestRootCA.key 2048
$ openssl req -x509 -new -nodes -key TestRootCA.key -sha256 -days 1024 -out
TestRootCA.pem
2. Bump the CA file into ./src/net/data/ssl/ev_roots/
$ openssl x509 -text -in TestRootCA.pem > $(openssl x509 -fingerprint
-noout -in TestRootCA.pem -sha256 |awk -F= '{print $2}' | sed
's/.*/\L&/g'|sed 's/://g').pem
3. Add new record to kEvRootCaMetadata in src
<https://cs.chromium.org/chromium/src/>/net
<https://cs.chromium.org/chromium/src/net/>/cert
<https://cs.chromium.org/chromium/src/net/cert/>/ev_root_ca_metadata.cc
<https://cs.chromium.org/chromium/src/net/cert/ev_root_ca_metadata.cc?l=50>
4. Rebuild chrome and check the Manage Certificates->Authorities in
Settings.
But I did not find my root CA listed. Any steps I missed?
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/1eb47a5c-9b37-4e1b-9f06-0058c621d8a5%40chromium.org.
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/1eb47a5c-9b37-4e1b-9f06-0058c621d8a5%40chromium.org.