ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <...@les7arts.com>
Subject Re: certificate in PKCS7 format in Ofbiz
Date Thu, 17 Mar 2011 13:08:18 GMT
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.olagos@gmail.com>
> 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 system a PKCS12 certificate.
> 
> Anyone experience with it?
> 
> Regards,
> Heidi
> 
> 2011/3/16 Info Olagos <info.olagos@gmail.com>
> 
>> 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
>>
>> Has anyone an idea how to solve this ?
>>
>> regards,
>> Heidi
>>  2011/3/16 Info Olagos <info.olagos@gmail.com>
>>
>>> Thanks. !
>>>
>>> Very useful document about PKCS12 import.
>>>
>>> Heidi
>>>
>>>  2011/3/16 Christian Geisert <christian.geisert@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 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
>>>>> certificate to the certificate provider. It was only my provider who
>>>>> generated the private key and the public key.
>>>>>
>>>>
>>>> Uh, the point of a *private* key is that you keep it private...
>>>>
>>>> So your problem now is that you want to import the private key into the
>>>> JKS?
>>>> See http://cunning.sharp.fm/2008/06/importing_private_keys_into_a.htmlfor
a solution.
>>>>
>>>>
>>>> Christian
>>>>
>>>
>>>
>>>
>>> --
>>> 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
>>> Belgium
>>>
>>>
>>>
>>>
>>
>>
>> --
>> 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
>> Belgium
>>
>>
>>
>>
> 
> 
> -- 
> 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
> Belgium
>


Mime
View raw message