ssl - How can I encrypt keystore password in wildlfy8 -


in jboss5 server.xml file has https configuration in is

<connector protocol="http/1.1" sslenabled="true" port="8443" address="${jboss.bind.address}" scheme="https" secure="true" clientauth="false"    keystorefile="${jboss.server.home.dir}/conf/abc.jks" keystorepass="base123" sslprotocol = "tls" /> 

here keystore file abc.jks , password base123.

i used below encrypt keystorepass , in jboss5 <connector.... securitydomain="java:/jaas/encrypt-keystore-password" sslimplementation="org.jboss.net.ssl.jbossimplementation"/>

in created *.password file encrypt password kindly refer below link encrypt keystore password in jboss5

in wildlfy8 ssl configuration is,

<server-identities>     <ssl>       <keystore path="abc.jks" relative-to="jboss.server.config.dir" keystore-password="base123" alias="mycert" key-password="base123"/>      </ssl> </server-identities> 

so wanted encrypt key store password in wildfly8.

you should use provided vaulttool : https://developer.jboss.org/wiki/maskingpasswordsforwildflyusingnon-interactivevaulttool


Comments