• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1214
  • Last Modified:

Import certificate into jre keystore on OS X 10.6

I have a web application that uses soap over https to obtain some data on another server.
To be more precise, my web application uses a Identikey 3.1  server to obtain user credentials over HTTPS using a soap call. For this to work a certificate needs to be available for the JVM running my web-application.

I know how to import certificates on the windows platform, but is there a best practice for jvm ' s on OS X, or is the unix way the correct way to do this?
Some hints I found on google point to the os x keychain, but this seems a little odd, or not?
0
cibv0ql
Asked:
cibv0ql
  • 2
  • 2
  • 2
1 Solution
 
CEHJCommented:
Try using the following - it automates the task

http://technojeeves.com/joomla/index.php/free/46-java-cert
0
 
objectsCommented:
> I know how to import certificates on the windows platform but is there a best practice for jvm ' s on OS X, or is the unix way the correct way to do this?

same way as on unix, theres no difference
0
 
cibv0qlAuthor Commented:
So you could import a certificate into the keystore using the linux version of keytool:

Example: keytool -import -v -keystore <keystore file> -file mycerts.pem

Some info on google pointed to using the keychain to achieve this and that confused me.

I haven' t tried the solution by CEHJ yet, I made a habit of not running homebrew scripts/programs for these kinds of actions without checking them out first.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
CEHJCommented:
>>
I haven' t tried the solution by CEHJ yet, I made a habit of not running homebrew scripts/programs for these kinds of actions without checking them out first.
>>

It's not 'homebrew' :-) - it was written by someone at Sun to simplify what you're trying to do
0
 
objectsCommented:
> So you could import a certificate into the keystore using the linux version of keytool:

yes (but you'd use the mac version that comes with the jdk)

> I haven' t tried the solution by CEHJ yet

don't bother, its not applicable to what you are doing
0
 
cibv0qlAuthor Commented:
It would be nice if a command example was present in the answer. Other then that, I now know the answer to my question.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now