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
| validate-revocation| Boolean. Specifies whether certificate is validated against online revocation list. Policy expressions aren't allowed.| No |`true`|
58
-
| validate-trust| Boolean. Specifies if validation should fail in case chain cannot be successfully built up to trusted CA. Policy expressions aren't allowed. | No |`true`|
59
-
| validate-not-before | Boolean. Validates value against current time. Policy expressions aren't allowed.| No|`true`|
60
-
| validate-not-after| Boolean. Validates value against current time. Policy expressions aren't allowed.| No|`true`|
61
-
| ignore-error| Boolean. Specifies if policy should proceed to the next handler or jump to on-error upon failed validation. Policy expressions aren't allowed. | No |`false`|
57
+
| validate-revocation | Boolean. Specifies whether certificate is validated against online revocation list. Policy expressions aren't allowed. | No |`true`|
58
+
| validate-trust| Boolean. Specifies if validation should fail in case chain cannot be successfully built up to trusted CA. Policy expressions aren't allowed. | No |`true`|
59
+
| validate-not-before | Boolean. Validates value against current time. Policy expressions aren't allowed.| No|`true`|
60
+
| validate-not-after | Boolean. Validates value against current time. Policy expressions aren't allowed.| No|`true`|
61
+
| ignore-error | Boolean. Specifies if policy should proceed to the next handler or jump to on-error upon failed validation. Policy expressions aren't allowed. | No |`false`|
62
62
63
63
## Elements
64
64
@@ -70,27 +70,24 @@ For more information about custom CA certificates and certificate authorities, s
| serial-number | Certificate serial number. | No | N/A |
75
75
| common-name | Certificate common name (part of Subject string). | No | N/A |
76
76
| subject | Subject string. Must follow format of Distinguished Name, which consists of comma-separated name attributes, for example, *"CN=MyName, OU=MyOrgUnit, C=US..."*.| No | N/A |
77
77
| dns-name | Value of dnsName entry inside Subject Alternative Name claim. | No | N/A |
78
-
| issuer-subject | Issuer's subject. Must follow format of Distinguished Name, which consists of comma-separated name attributes, for example, *"CN=MyName, OU=MyOrgUnit, C=US..."*. | No | N/A |
79
-
| issuer-thumbprint | Issuer thumbprint. | No | N/A |
80
-
| issuer-certificate-id | Identifier of existing certificate entity representing the issuer's public key. Mutually exclusive with other issuer attributes. | No | N/A |
78
+
| issuer-subject | Issuer's subject. Must follow format of Distinguished Name. | No | N/A |
| issuer-certificate-id | Identifier of existing certificate entity representing the issuer's public key. Mutually exclusive with other issuer attributes. | No | N/A |
* You must use double quotes to enclose values of name attributes in the `subject` and `issuer-subject` attributes when they contain certain special characters such as ",". For example, specify `O="Contoso, Inc."` instead of `O=Contoso, Inc.` for the organization name. [Learn more](/windows/win32/api/wincrypt/nf-wincrypt-certnametostra#remarks)
92
-
93
-
## Example
94
91
95
92
The following example validates a client certificate to match the policy's default validation rules and checks whether the subject and issuer name match specified values.
96
93
@@ -109,6 +106,25 @@ The following example validates a client certificate to match the policy's defau
109
106
</validate-client-certificate>
110
107
```
111
108
109
+
The following example performs a stricter validation by cheking whether the subject thumbprint and the issuer thumbprint match specified values.
0 commit comments