mirror of
https://github.com/corda/corda.git
synced 2025-04-15 15:07:03 +00:00
ENT-2706 Fixing the CRL issuer cert lookup (#1556)
* ENT-2706 Fixing the CRL issuer cert lookup * Addressing review comments * Reverting imports
This commit is contained in:
parent
72be3aa830
commit
32ff24ddc7
@ -347,12 +347,7 @@ class NodeRegistrationHelper(
|
||||
if (principalMatchesCertificatePrincipal(tlsCertCrlIssuer, rootCert)) {
|
||||
return rootCert
|
||||
}
|
||||
val trustStore = config.p2pSslOptions.trustStore.getOptional()
|
||||
return if (trustStore != null) {
|
||||
findMatchingCertificate(tlsCertCrlIssuer, trustStore.value)
|
||||
} else {
|
||||
null
|
||||
}
|
||||
return findMatchingCertificate(tlsCertCrlIssuer, rootTrustStore)
|
||||
}
|
||||
|
||||
override fun isTlsCrlIssuerCertRequired(): Boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user