[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OFF-TOPIC] Convertir certificado a pkcs12 llave publica



On Wed, Jul 01, 2015 at 11:47:18AM +0200, Maykel Franco wrote:
>    Hola buenas, tengo que convertir un certificado que tengo a p12 solo con
>    la llave publica.
>    Es un certificado para apache, con su key, crt intermediate y crt.
>    Lo he conseguido pasar usando openssl a p12, pero claro contiene la llave
>    privada.
>    openssl pkcs12 -in cert.p12 -clcerts -nokeys -out publicCert.pem
>    He mirado para extraer la llave publica del p12, lo que pasa que lo que he
>    encontrado te lo convierte a .pem.
>    Y ahí me he quedado, soy incapaz de convertir el pem a p12 con la llave
>    publica, puesto que todos los ejemplos que me encuentro de openssl
>    convierten pem a p12 pero teniendo el pem la llave privada...
>    Alguien podría ayudarme con esto?
>    Gracias de antemano.

Prueba esto[0] y si te sirve coméntalo... esta vez en texto plano,
por favor. 

[0] http://serverfault.com/questions/515833/how-to-remove-private-key-password-from-pkcs12-container

-- 
Adrià García-Alzórriz
0x09494C14
> : Any porters out there should feel happier knowing that DEC is shipping
> : me an AlphaPC that I intend to try getting linux running on: this will
> : definitely help flush out some of the most flagrant unportable stuff.
> : The Alpha is much more different from the i386 than the 68k stuff is, so
> : it's likely to get most of the stuff fixed.
>
> It's posts like this that almost convince us non-believers that there
> really is a god.
		-- Anthony Lovell, to Linus's remarks about porting

Attachment: signature.asc
Description: Digital signature


Reply to: