This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WLST over SSL

 
Alex Ioannou
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[I have also posted this in the weblogic forum, not sure where it should go]

Hi there

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).



Am I using the correct system properties?
 
Joe Ess
Bartender
Posts: 9279
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alex Ioannou:
I have also posted this in the weblogic forum, not sure where it should go


Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic