• 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

Creating Truststore and Keystore from PFX file  RSS feed

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a pfx file and I want to configure SSL/HTTPS to one of my applications running on JBOSS 6.1.0. I am very new to web technologies and would like to know how to convert this PFX file in to 2 separate jks files one for a keystore and the other for Truststore so that I can use them in my server.xml like below

Connector protocol="HTTP/1.1" SSLEnabled="true"
port="${jboss.web.https.port}" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/keystore.jks"
keystorePass="xxxx"
truststoreFile="${jboss.server.home.dir}/conf/truststore.jks"
truststorePass="xxxxx"
sslProtocol = "TLS" />

I found many posts explaining the creation of keystore from pfx but couldn't find any on creating truststore.

appreciate your help.

Thanks, Kalyan
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
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!