Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

WLST over SSL

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
I'm not sure if I approve of this interruption. But this tiny ad checks out:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic