Re: conversion from pem to pkcs12

2011-04-13 Thread Zico
On Tue, Apr 12, 2011 at 3:53 AM, Dave Thompson dthomp...@prinpay.comwrote: 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

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 am

Re: conversion from pem to pkcs12

2011-04-11 Thread Zico
On Tue, Apr 12, 2011 at 3:53 AM, Dave Thompson dthomp...@prinpay.comwrote: 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

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 means here?

conversion from pem to pkcs12

2011-04-09 Thread Zico
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 am using the command: *openssl pkcs12 -export -in *filename.pem* -inkey * ds.server.info_privatekey.pem* -out *outfile.pkcs12* -name alias *Here: