To use specific keystores/truststores, provide your own javax.net.ssl.SSLContext initialized with the stores.
Create a keystore with: keytool -genkey -alias rmi -keyalg RSA -validity 9999 -keystore keystore.key
Used to stop the server over RMI.
Used to stop the server over RMI.
The server is assumed to have been started elsewhere using RmiServer.start()
.
Init scripts can for example use something like "java -jar app.jar com.malliina.rmi.RmiClient stop" to stop the server.
The security policy and/or the java.lang.SecurityManager must be installed BEFORE logback is used.
ConnectException
check that the registry is runningConnectIOException
check SSL settings