When I run a command with jboss-cli.sh against a Wildfly server that has HTTPS configured on the management interface, I get the message:
Accept certificate? [N]o, [T]emporarily, [P]ermanently
How can I avoid this?
The solution is to set the javax.net.ssl.trustStore
system property to the self signed certificate:
./jboss-cli.sh -Djavax.net.ssl.trustStore=/opt/wildfly/domain/configuration/https.store --user=admin --password=password --connect --controller=https-remoting://10.0.0.1:9990 -c "deploy /tmp/hawtio.war --all-server-groups"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With