wood burning stoves 2.0*
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 Java 8 in Action this week in the Java 8 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
 
Consider Paul's rocket mass heater.
 
subject: Creating p12 files using Cert and key files - reg.
 
Similar Threads
Sun JSSE -- Weblogic Compatibility
Import p12 (certificate) to smart card. Keystore, pkcs11, etc.
Digital Certificate using java
how do i use a PKCS12 file
InvalidKeyException: IOException : algid parse error, not a sequence