I’m facing an SSL validation problem with Akka Streams S3, resulting in a javax.net.ssl.SSLHandshakeException
with the message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
Since I can’t override the HTTP client directly, I’m reaching out for advice on how to resolve this within the limitations of the library.
"com.lightbend.akka" %% "akka-stream-alpakka-s3" % "3.0.4"
I’ve attempted the following settings:
System Properties:
-Dcom.sun.net.ssl.checkRevocation=false
-Djdk.internal.httpclient.disableHostnameVerification=true
And also added the following configuration block in application.conf
:
akka {
loglevel = "INFO"
ssl-config {
loose {
allowUnsafeRenegotiation = true
disableHostnameVerification = true
acceptAnyCertificate = true
}
}
}
1 post - 1 participant