Swarne27
Swarne27

Reputation: 5747

generate SSL keystore and private key for jboss6

I want to make my own SSL certificate in-order to be used in a web application. When I try to generate the keystore I get this error. I inserted my own new password to it. Is there anything specific to put as password?

windows commandline

C:\jboss6\server\default\conf>keytool -genkey -alias jbosskey -keypass change_this -keyalg RSA -keystore server.keystore
Enter keystore password:

error which is displayed

keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect

Upvotes: 0

Views: 1136

Answers (2)

Swarne27
Swarne27

Reputation: 5747

I found a good descriptive solution to my issue on following link, and it worked for me.

JBOSS https/ssl configuration

Upvotes: 1

Mirko Adari
Mirko Adari

Reputation: 5103

Works for me without -keypass.

keytool -genkey -alias jbosskey -keyalg RSA -keystore server.keystore

Upvotes: 1

Related Questions