Skip to content

Commit e2409b5

Browse files
committed
Elevate com.sun.security.enableCRLDP instruction to a Getting Started step
1 parent 74dd748 commit e2409b5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

webauthn-server-attestation/README.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Breaking changes to these will NOT be reflected in version numbers.
120120

121121
== Getting started
122122

123-
Using this module consists of 4 major steps:
123+
Using this module consists of 5 major steps:
124124

125125
1. Create a
126126
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-attestation/2.4.0/com/yubico/fido/metadata/FidoMetadataDownloader.html[`FidoMetadataDownloader`]
@@ -218,13 +218,16 @@ RegistrationResult result = rp.finishRegistration(/* ... */);
218218
Set<MetadataBLOBPayloadEntry> metadata = mds.findEntries(result);
219219
----------
220220

221-
By default,
222-
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-attestation/2.4.0/com/yubico/fido/metadata/FidoMetadataDownloader.html[`FidoMetadataDownloader`]
223-
will probably use the SUN provider for the `PKIX` certificate path validation algorithm.
224-
This requires the `com.sun.security.enableCRLDP` system property set to `true` in order to verify the BLOB signature.
221+
5. If you use the SUN provider for the `PKIX` certificate path validation algorithm, which many deployments do by default:
222+
set the `com.sun.security.enableCRLDP` system property to `true`.
223+
This is required for the SUN `PKIX` provider to support the CRL Distribution Points extension,
224+
which is needed in order to verify the BLOB signature.
225+
+
225226
For example, this can be done on the JVM command line using a `-Dcom.sun.security.enableCRLDP=true` option.
226-
See the https://docs.oracle.com/javase/9/security/java-pki-programmers-guide.htm#JSSEC-GUID-EB250086-0AC1-4D60-AE2A-FC7461374746[Java PKI Programmers Guide]
227+
See the https://docs.oracle.com/javase/9/security/java-pki-programmers-guide.htm#GUID-EB250086-0AC1-4D60-AE2A-FC7461374746__SECTION-139-623E860E[Java PKI Programmers Guide]
227228
for details.
229+
+
230+
This step may not be necessary if you use a different provider for the `PKIX` certificate path validation algorithm.
228231

229232

230233
== Selecting trusted authenticators

0 commit comments

Comments
 (0)