2

I'm trying to build a simple client-server application using Netty which uses SSL certificates .

I looked around and I could only find the secure chat example [here]. It uses bogus certificates.

How to do a proper implementation of SSL certificates (self-signed) in Netty?

BenMorel
  • 31,815
  • 47
  • 169
  • 296
Shamal Karunarathne
  • 1,599
  • 3
  • 15
  • 23

1 Answers1

2

I would recommend against self signed certificates. It's not worth the trouble. You can get signed certificate for free from StartSSL. Check out the link below on how to convert a signed certificate into PKCS12 format and use it in SSLContext to be used with Netty.

http://blog.hintcafe.com/post/33709433256/https-server-in-java-using-netty-and-keystore

Vivek
  • 89
  • 1
  • 4