You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -879,40 +885,43 @@ We'll do that in the next example.
879
885
X.509 Certificate Policies define policy constraints of a certificate.
880
886
They help relying parties determine the trustworthiness of a certificate,
881
887
and how to use it in practice.
882
-
For example, a Certificate Policy might detail how the CA verified the identity of the certificate requestor,
883
-
or elaborate on use cases (TLS, email encryption, code signing) that are allowed by the PKI for that certificate.
884
888
885
-
A Certificate Practice Statement (CPS) is type of policy that references a human-readable document published by a CA
886
-
describing its operational practices and security controls.
889
+
For example, in the Web PKI, the Policy OID `2.23.140.1.2.1` is used to distinguish a certificate that meets the [CA/Browser Forum Baseline Requirements](https://cabforum.org/working-groups/server/baseline-requirements/requirements/) for Domain Validation.
890
+
891
+
In an internal PKI, a large organization might use a Certificate Policy to detail to a relying party how the CA verified the identity of the certificate requestor, or to approve a certificate for specific applications.
892
+
But, this sort of use case is very niche because it depends on the relying party.
893
+
894
+
A Certificate Practices Statement (CPS) is type of Certificate Policy that references a document describing a CA's operational practices and security controls.
887
895
888
896
Here's [an example of a CPS from Let's Encrypt](https://letsencrypt.org/documents/isrg-cp-cps-v5.7/).
889
897
890
-
Let's put together a Certificate Policies extension using an X.509 template.
891
-
We'll need to construct some ASN.1 for this:
898
+
Let's add a policy extension with a CPS to an X.509 template.
First, the OID `2.5.29.32` represents the Certificate Policies extension.
921
+
First, the public OID `2.5.29.32` represents the Certificate Policies extension.
912
922
In the value for this extension, we have two policies.
913
-
The first references Policy OID `1.3.5.7`, a custom policy OID that would be defined by the organization.
914
-
For the second value, both a Policy OID and a CPS URI `http://example.com/cps` is provided.
915
-
The CPS URI contains a document explaining how the CA enforces policy `1.3.6.1.5.5.7.2.1`.
923
+
The first references Policy OID `1.3.6.1.4.1.99999.1.1.1`, a custom policy OID that would be defined by our organization.
924
+
The second policy contains both the well-defined OID `1.3.6.1.5.5.7.2.1`[representing a CPS pointer](https://www.rfc-editor.org/rfc/rfc5280.html#section-4.2.1.4), and the CPS pointer `http://example.com/cps`.
0 commit comments