• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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
 
Marshal
Posts: 24473
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?
 
I like tacos! And this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!