Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Importing a .pfx certificate & using it in a stand alone java client

Thread view: 
Praveen Mohanan - 04 May 2006 03:03 GMT
Hi..All,

  My client forwarded me a .pfx certificate to be used in my java
client  & connect it to their secured website.

How do I import the cert in a keystore? & how do I use the cert in my
stand alone java client.

I am using JDK 1.3.1 (I have downloaded JSSE) & solaris 2.6

Please do let me know the steps required.

Thanks a lot in advance.

Regards,

P
Tony Morris - 04 May 2006 05:25 GMT
> Hi..All,
>
[quoted text clipped - 13 lines]
>
> P

You set the javax.net.ssl.trustStore system property.

Signature

Tony Morris
http://tmorris.net/

Praveen Mohanan - 04 May 2006 06:07 GMT
Hi..Tony,

   Thanks!!
But is it possible to give me the exact method call?
I am new to this & struggling to get it work.

I searched the net & found that I have to create Keystore etc. Do I
still need that?

>> Hi..All,
>>
[quoted text clipped - 15 lines]
>
> You set the javax.net.ssl.trustStore system property.
Tony Morris - 04 May 2006 07:01 GMT
> Hi..Tony,
>
[quoted text clipped - 24 lines]
>>
>> You set the javax.net.ssl.trustStore system property.

A .pfx is a keystore - it is a Microsoft version of PKCS#12.
You set system properties in a number of ways e.g. using the
System.setProperty method, or passing it at VM invocation time using -D

Signature

Tony Morris
http://tmorris.net/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.