add insecure HTTPS client warning for Scala

This commit is contained in:
Roland Kuhn 2015-11-24 10:22:56 +01:00
parent a772290fee
commit ac9bcebb90

View file

@ -5,6 +5,11 @@ Client-Side HTTPS Support
Akka HTTP supports TLS encryption on the client-side as well as on the :ref:`server-side <serverSideHTTPS>`.
.. warning:
Akka HTTP 1.0 does not completely validate certificates when using HTTPS. Please do not treat HTTPS connections
made with this version as secure. Requests are vulnerable to a Man-In-The-Middle attack via certificate substitution.
The central vehicle for configuring encryption is the ``HttpsContext``, which is defined as such:
.. includecode2:: /../../akka-http-core/src/main/scala/akka/http/scaladsl/Http.scala