Skip to content

PKIXRevocationChecker.Options not configurable through ssl-config #79

@satish-dandu

Description

@satish-dandu

I am using akka-http defaultClientHttpsContext for the client https connections. I configured RevocationChecker to use CRL, and I wan't to configure additional options PKIXRevocationChecker.Option.SOFT_FAIL to ignore any network failures while downloading the CRL (https://docs.oracle.com/javase/8/docs/technotes/guides/security/certpath/CertPathProgGuide.html#PKIXRevocationChecker). But this configuration is not exposed in ssl-config.

I want to continue with SSL handshake upon CRL validation failure due to n/w issues.
Aborting encrypted connection to 52.14.138.136:443 due to [SSLHandshakeException:General SSLEngine problem] -> [SSLHandshakeException:General SSLEngine problem] -> [ValidatorException:PKIX path validation failed: java.security.cert.CertPathValidatorException: Unable to determine revocation status due to network error] -> [CertPathValidatorException:Unable to determine revocation status due to network error] -> [CertStoreTypeException:java.net.SocketTimeoutException: connect timed out] -> [SocketTimeoutException:connect timed out]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions