As suggested in the documentation that came with Mendelson AS2, I used Portecle to import my certificate collection into the p12 keystore that Mendelson requires.
I also tried to use a "key pair" generated by Portecle. Big mistake! It didn't work, because certs created by Portecle don't contain the required "key usage extensions".
This is what's missing:
(quote)
Key Usage: digitalSignature
keyEncipherment
(end quote)
Is there any util that is as easy to use as Portecle but which does create certs with the extensions?
neilparks1,
I would suggest openssl. This is the right tool for every certificate related problem but its not as easy to use as portecle, it uses a command line interface.
http://www.openssl.org/
Regards
Heller
You can also try IBM's keyman tool. it allows you to open/create/update keystores.
http://www.alphaworks.ibm.com/tech/keyman
And as Heller suggested Openssl.org command line works very well but you need to read up on the openssl config file.
Here is a quick tutorial on openssl
http://www.g-loaded.eu/2005/11/10/be-your-own-ca/