floater
Java Jedi
总版主
发贴: 3233
积分: 421
|
于 2004-11-19 23:25
Since you have the p12 client cert already, just import into IE and then export it again. The reason you need to do this is you need to control the password of the client cert. When you import into IE, there is a checkbox you have to check(I think it's related to exportable). When you export, set the password to changeit.
When you use the above java code, you need to supply the .jks file name, jsse uses jks format underneathe. Otherwise, you will get errors.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler, Refactoring - Improving the Design of Existing Code
|