Package org.h2.dev.security
Class SecureKeyStoreBuilder
- java.lang.Object
-
- org.h2.dev.security.SecureKeyStoreBuilder
-
public class SecureKeyStoreBuilder extends java.lang.ObjectTool to generate source code for the SecureSocketFactory. First, create a keystore using:keytool -genkey -alias h2 -keyalg RSA -dname "cn=H2" -validity 25000 -keypass h2pass -keystore h2.keystore -storepass h2passThen run this application to generate the source code. Then replace the code in the function SecureSocketFactory.getKeyStore as specified
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String... args)This method is called when executing this application from the command line.
-