Re: certificate in PKCS7 format in Ofbiz

2011-03-18 Thread Info Olagos
Thanks Richard, This is the exact method for having a working solution !! Thanks, Heidi 2011/3/17 Richard Siddall richard.sidd...@elirion.net Info Olagos wrote: Hello, For anyone who has succesfully imported a PKCS12 certificate in a keystore : Does this work with the java keytool tool

Re: certificate in PKCS7 format in Ofbiz

2011-03-17 Thread Info Olagos
Hello, For anyone who has succesfully imported a PKCS12 certificate in a keystore : Does this work with the java keytool tool on a linux system, i mean is it possible to import PKCS 12 certificates on that? It seams impossible to import with the java keytool tool on a windows vista business

Re: certificate in PKCS7 format in Ofbiz

2011-03-17 Thread Jacques Le Roux
IIRW, to import a such certificate in Windows you can rely on Windows itself. In file explorer right click: install. There are more explanations on the Net Jacques From: Info Olagos info.ola...@gmail.com Hello, For anyone who has succesfully imported a PKCS12 certificate in a keystore :

Re: certificate in PKCS7 format in Ofbiz

2011-03-17 Thread Info Olagos
Thanks Jacques, And you know, by the way, how to reference to it then in ofbiz-containers.xml to the certificate? Heidi 2011/3/17 Jacques Le Roux j...@les7arts.com IIRW, to import a such certificate in Windows you can rely on Windows itself. In file explorer right click: install. There are

Re: certificate in PKCS7 format in Ofbiz

2011-03-17 Thread Info Olagos
Waow Thanks for all the information !! Regards, Heidi 2011/3/17 Richard Siddall richard.sidd...@elirion.net Info Olagos wrote: Hello, For anyone who has succesfully imported a PKCS12 certificate in a keystore : Does this work with the java keytool tool on a linux system, i mean is it

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Jacques Le Roux
Yes from experience I confirm, PKCS12 is the way Jacques Richard Siddall wrote: Info Olagos wrote: Hello, Has anyone already imported a PKCS7 certificate into the java keystore for use with embedded Tomcat Ofbiz? Regards, Heidi I think I had to convert one to PKCS12. IIRC, Java6 lets

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Info Olagos
Hello, Thanks for the info. At the end i have a near working solution for the certificates. I learned that the keytool doesn't accept anymore .p7b or PKCS7 certificates. So i converted with openssl the PKCS7 certificate back to X.509 certificate and that one i imported into the keystore with

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Info Olagos
Apparently PKCS7 can not work because it doens't convert the private key and doesn't contain the private key. But i think here we have a wrong information in the WIKI in the technical startup document. So then we have to use PKCS12. Regards, Heidi 2011/3/16 Info Olagos info.ola...@gmail.com

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Christian Geisert
Info Olagos schrieb: Apparently PKCS7 can not work because it doens't convert the private key and doesn't contain the private key. A certificate never contains the private key. But i think here we have a wrong information in the WIKI in the technical startup document. I don't think there's

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Info Olagos
ok thanks for info. But the certificate in PKCS#12 format (standard) contains both the private key and public key. It is a standard to transfer the certificates from the public certificate provider to my webserver. Because i didn't generate the private key myself. And i didn't request for a

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Christian Geisert
Info Olagos schrieb: ok thanks for info. But the certificate in PKCS#12 format (standard) contains both the private key and public key. It is a standard to transfer the certificates from the public certificate provider to my webserver. Because i didn't generate the private key myself. And i

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Info Olagos
Thanks. ! Very useful document about PKCS12 import. Heidi 2011/3/16 Christian Geisert christian.geis...@isu-gmbh.de Info Olagos schrieb: ok thanks for info. But the certificate in PKCS#12 format (standard) contains both the private key and public key. It is a standard to transfer the

Re: certificate in PKCS7 format in Ofbiz

2011-03-16 Thread Info Olagos
But if i want to import the PKCS12 certificate into a new keystore, i try to do: keytool -importcert -alias ssl -trustcacerts -file c:\...\...\...\mypfx.pfx -keystore eee.pfx Enter keystore password:* Re-enter new password: * keytool error: java.lang.Exception: Input not an X.509

certificate in PKCS7 format in Ofbiz

2011-03-15 Thread Info Olagos
Hello, Has anyone already imported a PKCS7 certificate into the java keystore for use with embedded Tomcat Ofbiz? Regards, Heidi -- Olagos bvba http://www.olagos.eu http://www.olagos.eu/ http://www.olagos.com http://www.olagos.be http://www.olagos.nl Olagos team Heesterbos 5 2570 Duffel

Re: certificate in PKCS7 format in Ofbiz

2011-03-15 Thread Richard Siddall
Info Olagos wrote: Hello, Has anyone already imported a PKCS7 certificate into the java keystore for use with embedded Tomcat Ofbiz? Regards, Heidi I think I had to convert one to PKCS12. IIRC, Java6 lets you use PKCS12 as a key store with key tool. I read that Tomcat can use PKCS12