• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

SSL keystorepassword dont want to pass it from server start instead of using properties file  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one problem coming in my project i have something setup like below in server start arguments of weblogic 12.2.1.3

-Djavax.net.ssl.keyStore=C:/Oracle/Middleware/Oracle_Home/wlserver/server/lib/Test_Identity.jks -Djavax.net.ssl.trustStore=C:/Oracle/Middleware/Oracle_Home/wlserver/server/lib/Test_Trust.jks -Djavax.net.ssl.keyStorePassword=***** -Djavax.net.ssl.trustStorePassword=**** -Dweblogic.webservice.verbose=true -Djavax.net.debug=ssl:handshake:verbose

Now there is a issue that i don't want to pass this password here as any password passed on command line are visible to any local user.

Kindly advise what is the alternative to this?How can i pass these using properties file
 
Sheriff
Posts: 24374
55
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

seeks Java wrote:Now there is a issue that i don't want to pass this password here as any password passed on command line are visible to any local user.



It's visible to any local user who has permission to read the file. I strongly recommend you set up the file's permissions so that only one administrator can see it.
 
seeks Java
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Clapham wrote:

seeks Java wrote:Now there is a issue that i don't want to pass this password here as any password passed on command line are visible to any local user.



It's visible to any local user who has permission to read the file. I strongly recommend you set up the file's permissions so that only one administrator can see it.



So how can i set these ssl keystore path and password in properties file and pass to weblogic server?
 
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!