Posts Tagged ‘keystore’
When urgently you need some keystores and truststores to test out some security related java code this is a useful bat file to have. Copy the code below and create a bat file. run it and you got your stuff.
keytool -genkey -alias serverkeys -keyalg RSA -keystore server.k
eystore -storepass 123456 -keypass 123456 -dname “CN=localhost, OU=MYOU, O=MYORG, [...]
Filed under: TLS | 1 Comment
Tags: certificates, java, keystore, keytool, security, TLS