Skip to content

Commit

Permalink
Changed the default to CRL_BEFORE_OCSP
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jan 10, 2024
1 parent acd5547 commit af48cc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ They depend on several other libraries so I suggest you are going for the Maven

# News and noteworthy

* v9.2.3 - 2024-01-10
* Changed the default checking mode in `CertificateRevocationChecker` from `OCSP` to `CRL_BEFORE_OCSP` due to https://github.com/phax/phase4/issues/124#issuecomment-1884398195
* v9.2.2 - 2024-01-08
* Extended `PeppolSBDHDocumentReader` API to allow to disable check for mandatory C1 Country Code via `.setCheckForCountryC1(boolean)`
* v9.2.1 - 2024-01-07
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@
@ThreadSafe
public final class CertificateRevocationChecker
{
// By default OCSP is preferred over CRL
public static final ERevocationCheckMode DEFAULT_REVOCATION_CHECK_MODE = ERevocationCheckMode.OCSP_BEFORE_CRL;
// By default CRL is preferred over OCSP because of
// https://github.com/phax/phase4/issues/124
public static final ERevocationCheckMode DEFAULT_REVOCATION_CHECK_MODE = ERevocationCheckMode.CRL_BEFORE_OCSP;
public static final boolean DEFAULT_ALLOW_SOFT_FAIL = false;
public static final boolean DEFAULT_ALLOW_EXEC_SYNC = true;

Expand Down

0 comments on commit af48cc3

Please sign in to comment.