mirror of
https://github.com/corda/corda.git
synced 2025-01-18 18:56:28 +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)) {
|
if (principalMatchesCertificatePrincipal(tlsCertCrlIssuer, rootCert)) {
|
||||||
return rootCert
|
return rootCert
|
||||||
}
|
}
|
||||||
val trustStore = config.p2pSslOptions.trustStore.getOptional()
|
return findMatchingCertificate(tlsCertCrlIssuer, rootTrustStore)
|
||||||
return if (trustStore != null) {
|
|
||||||
findMatchingCertificate(tlsCertCrlIssuer, trustStore.value)
|
|
||||||
} else {
|
|
||||||
null
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun isTlsCrlIssuerCertRequired(): Boolean {
|
override fun isTlsCrlIssuerCertRequired(): Boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user