Step for to create an keystore
1 As you can use the command keytool for to make an keystore file
$JAVA_HOME/bin/keytool -genkey -alias namealias -keyalg RSA -keystore namefile.keystore -validity 730
2 For to make an CSR:
$JAVA_HOME/bin/keytool -certreq -v -alias namelais -file namefile.csr -keypass 'J1bos$1' -keystore namefile.keystore
You have to send the CSR file to Your Certification Authority
3 For check file keystore
$JAVA_HOME/bin/keytool -list -keystore namefile.keystore -v
The second step is not mandatory for to configure the conncector https
In your standalone.xml file add this tag
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
<ssl name="https" key-alias="namealis" password="yourpassword" certificate-key-file="../standalone/conf_keystore/namefile.keystore"/>
</connector>
EASY?
Comments