I built a TCP server (using Netty). If I pass an SSLContext during the server initialization then the server will start encrypting the messages between it and the clients.
I have a certificate and private key (of type DER). How can I create an SSLContext from those?