Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public static void validateCertificatePurpose(X509Certificate subjectCertificate
if (usages == null || usages.isEmpty()) {
// Digital Signature extension present, but Extended Key Usage extension not present,
// assume it is an authentication certificate (e.g. Luxembourg eID).
LOG.debug("User certificate has Digital Signature key usage and no Extended Key Usage extension, this means that it can be used for client authentication.");
return;
}
if (!usages.contains(EXTENDED_KEY_USAGE_CLIENT_AUTHENTICATION)) {
Expand Down