In my last blogs I explained how one can create a self-signed certificate and KeyStore in PKCS12. You can go through the previous blog, as we’ll be needing certificate and keystore for handling HTTPS requests.
Akka-HTTP provides both Server-Side and Client-Side HTTPS support.
In this blog I’ll be covering the Server-Side HTTPS support.
Let’s start with “why do we need server-side HTTPS support?”
If we want the communication between the browser and the server to be encrypted we need to handle HTTPS request. HTTPS is often used to protect highly confidential online transactions like online banking and online shopping order forms.
Akka-HTTP supports TLS(Transport Layer Security).
For handling the HTTPS request we need to have the SSL certificate and the KeyStore. Once you have generated both you can go through the example.
In this example, you will see how easily you can handle
View original post 219 more words