Specify the keystore of certificates using the javax.net.ssl.keyStore system property:
java -Djavax.net.ssl.keyStore=mySrvKeystore -Djavax.net.ssl.keyStorePassword=123456 MyServer