• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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

 
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
 
Marshal
Posts: 25594
69
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?
 
permaculture is largely about replacing oil with people. And one tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic