I have successfully executed a WLST script over an SSL connection to perform operations such as deploy/undeploy EAR files and configure resources. I imported the demo certificate from my BEA install into my client JVM to achieve this.
I now want to specify the keystore on the command line so I can run a script without having to modify the JVM first.
So I tried -Djavax.net.ssl.keyStore=C:/jdk15/cacerts which didn't work.
I'm running WLST using ant so I also tried this which didn't work either
Here is the error (remember the code works fine when the certificate is added to the default location).