This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Security and the fly likes Creating p12 files using Cert and key files - reg. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Creating p12 files using Cert and key files - reg." Watch "Creating p12 files using Cert and key files - reg." New topic
Author

Creating p12 files using Cert and key files - reg.

dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
Hi Friends,

The problem statement is: I need to develop an API

File generateP12 ( File certFile, File keyFile );

This API will get two inputs a certFile and a Key File and using these two it has to generate a P12 file. Can anybody give some ideas?

Thanks and Regards,
Dinesh Venkatesan.
Pankaj Tiwari
Ranch Hand

Joined: Sep 11, 2005
Posts: 55
I don't think that you can make p12 file with key and cert file
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating p12 files using Cert and key files - reg.
 
Similar Threads
Import p12 (certificate) to smart card. Keystore, pkcs11, etc.
how do i use a PKCS12 file
InvalidKeyException: IOException : algid parse error, not a sequence
Sun JSSE -- Weblogic Compatibility
Digital Certificate using java