Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 824 Bytes

ssl.md

File metadata and controls

10 lines (7 loc) · 824 Bytes

SSL

SSL handling can be customized (or disabled) when creating a backend and is backend-specific.

Depending on the underlying backend's client, you can customize SSL settings as follows:

  • HttpUrlConnectionBackend: when creating the backend, specify the customizeConnection: HttpURLConnection => Unit parameter, and set the hostname verifier & SSL socket factory as required
  • akka-http: when creating the backend, specify the customHttpsContext: Option[HttpsConnectionContext] parameter. See akka-http docs
  • async-http-client: create a custom client and use the setSSLContext method
  • OkHttp: create a custom client modifying the SSL settings as described on the wiki