-
Notifications
You must be signed in to change notification settings - Fork 39
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
SSLLooseConfig.acceptAnyCertificate doesn't seem to do anything #69
Comments
I wonder if this actually an issue for ssl-config or the underlying akka-http dependency? |
@pkoryzna - can you please include a minimal example, ie pointing to some site with a self-signed certificate? I made one here: https://139.59.135.117/ |
Minimal example here: https://gist.github.com/pkoryzna/f288d8471c7e1c8822b3594d043d7017 |
Custom SSL context works for me. |
I confirm, this setting does not work. |
This is the exception I got when I tried to use loose SSL settings in Akka |
While using
akka-http
, I need to have an option to trust all the certificates when connecting via HTTPS. I follow the instructions on http://lightbend.github.io/ssl-config/LooseSSL.html#loose-options and https://doc.akka.io/docs/akka-http/10.0.10/scala/http/client-side/client-https-support.html#disabling-tls-security-features-at-your-own-risk, but had no success - the certificate still seems to be validated regardless of the setting. Opening a connection just keeps throwing a stack trace like one below.Why: I'm writing a plugin for a certain application which bundles its own JDK. The certificate authorities more often than not will not be under my control, and I cannot expect users to add certificates to
cacerts
or supply thier own files.The text was updated successfully, but these errors were encountered: