Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKIXRevocationChecker.Options not configurable through ssl-config #79

Open
satish-dandu opened this issue Apr 5, 2018 · 0 comments
Open

Comments

@satish-dandu
Copy link

satish-dandu commented Apr 5, 2018

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants