mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
CORDA-2205 Fixing CRL issuer store lookup (#4205)
This commit is contained in:
parent
4c25250fc8
commit
2f644039b5
@ -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…
Reference in New Issue
Block a user