Hi, I have configured my AKKA Code to import and use SSL in its HTTP via SSLContext ....The SSL I have used is purchased from GeoTrust (Third Party) and SSL certificate is configured to serve for specific hostname / domain name like "tech.com" - How do I configure Akka to listen for this hostname and not for the IP Address directly - So that the SSL works as needed.
problem faced: if I send a request using postman on http protocol it works well but https requests fails - as I havent dont any hostname configuration in Akka. I am getting some clue on http://doc.akka.io/docs/akka-http/current/java/http/configuration.html but I am confused how do I use this configuration file in my code and following configuration on the above link makes me confuse # The proxy configurations to be used for requests with the specified # scheme. proxy { # Proxy settings for unencrypted HTTP requests # Set to 'none' to always connect directly, 'default' to use the system # settings as described in http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html # or specify the proxy host, port and non proxy hosts as demonstrated # in the following example: # http { # host = myproxy.com # port = 8080 # non-proxy-hosts = ["*.direct-access.net"] # } http = default # Proxy settings for HTTPS requests (currently unsupported) https = default } # If this setting is empty the server only accepts requests that carry a # non-empty `Host` header. Otherwise it responds with `400 Bad Request`. # Set to a non-empty value to be used in lieu of a missing or empty `Host` # header to make the server accept such requests. # Note that the server will never accept HTTP/1.1 request without a `Host` # header, i.e. this setting only affects HTTP/1.1 requests with an empty # `Host` header as well as HTTP/1.0 requests. # Examples: `www.spray.io` or `example.com:8080` default-host-header = "" which configuration shall I change and how do I overwrite this configuration on my akka code ?? or what I am suppose to do to send http request to akka via hostname and not just by its IP Address -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
