Added an instruction to generate a certificate when it expires (maybe in 98 years?)

This commit is contained in:
Trustin Lee 2010-01-25 11:24:35 +00:00
parent a6f3a4f10f
commit 2e477b87c2

View File

@ -22,6 +22,14 @@ import java.io.InputStream;
* A bogus key store which provides all the required information to * A bogus key store which provides all the required information to
* create an example SSL connection. * create an example SSL connection.
* *
* To generate a bogus key store:
* <pre>
* keytool -genkey -alias securechat -keysize 2048 -validity 36500
* -keyalg RSA -dname "CN=securechat"
* -keypass secret -storepass secret
* -keystore cert.jks
* </pre>
*
* @author The Netty Project (netty-dev@lists.jboss.org) * @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (trustin@gmail.com) * @author Trustin Lee (trustin@gmail.com)
* *