Import self signed certificates into Netty
I need to set up SSL for my Netty server for which I am planning to use a self signed certificate. I wanted to know what steps are taken in this?
-
Use openssl to get .key and .csr files. Do I need to convert the .csr file to pem?
-
How do I import a certificate into a keystore? Is this cacerts on a linux machine?
-
Do I also need to import the keys to the keystore?
+3
source to share
1 answer
This tutorial shows the steps to use a StartSSL signed certificate:
http://blog.hintcafe.com/post/33709433256/https-server-in-java-using-netty-and-keystore
I think the steps can be changed to use your self-signed certificate (or you can sign it for free with StartSSL.
0
source to share