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?

4

1 回答 1

2

我建议不要使用自签名证书。这不值得麻烦。您可以从StartSSL免费获得签名证书。查看下面的链接,了解如何将签名证书转换为 PKCS12 格式并在 SSLContext 中使用它以与 Netty 一起使用。

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

于 2012-10-19T04:58:55.923 回答