Re: conversion from pem to pkcs12

2011-04-13 Thread Zico
On Tue, Apr 12, 2011 at 3:53 AM, Dave Thompson wrote: > Aside: If the "-in" file contains both the cert and the privatekey, > you don't need to provide "-inkey" in addition. > > But the error is that the cert and privatekey don't match. > At least one of these files is not what you think it is. >

Re: conversion from pem to pkcs12

2011-04-11 Thread Jan Danielsson
On 04/12/11 06:48, Zico wrote: >> Try openssl x509 -in (certfile.pem) -noout -text >> and openssl rsa -in (privkey.pem) -noout -text >> and look at the modulus for each. They should match. >> > Thanks Dave for your nice reply. I am little bit confused here in these two > commands. What does "text"

Re: conversion from pem to pkcs12

2011-04-11 Thread Zico
On Tue, Apr 12, 2011 at 3:53 AM, Dave Thompson wrote: > Try openssl x509 -in (certfile.pem) -noout -text > and openssl rsa -in (privkey.pem) -noout -text > and look at the modulus for each. They should match. > > Thanks Dave for your nice reply. I am little bit confused here in these two commands.

RE: conversion from pem to pkcs12

2011-04-11 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Zico > Sent: Sunday, 10 April, 2011 01:18 > Hi, I am trying to convert my one pem file to pkcs12 format > using the command, but I am getting the error: > "No certificate matches private key" > I