Hi,

Today I found where the problem comes from.

In the file OpenSSL.pm under OpenCA/Perl libraires, the certificate which was used to encrypt the mail was the one which sign messages instead of the newly generatred one.

To fix this bug, I replaced line 2576 in OpenSSL.pm
$smime->encrypt(CERTIFICATE  => $sign_x509)
with
$smime->encrypt(CERTIFICATE  => $enc_x509)

Have a nice day,
Sébastien Poggi




[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]

21/04/2004 15:00

Please respond to
[EMAIL PROTECTED]

To
[EMAIL PROTECTED]
cc
Subject
[Openca-Users] Problem reading CRIN-Mail






Hi everybody,


Whatever I do, I cannot achieve to decrypt the 'OpenCA Certificate and PIN information' mail sent by the CA when a certificate is issued.


I've imported the CA certificate and my own certificate into my mail client (Outlook Express or Mozilla according to the browser I used to create the CSR) and assigning this one to my profile into Outlook or Mozilla. ( Of course I'm assuming the CRIN mail is encrypted with my own public key )


However when I'm trying to send or receive an encrypted mail with an other person which had a certificate issued by my CA, everything is working perfectly.


So is there anything that I'm doing wrong or I need to know in order to decrypt this mail ?


Have a nice day,

Sebastien Poggi

Reply via email to