Archived Forum Post

Index of archived forum posts

Question:

Upgraded to a new server and now can't send encrypted emails

May 05 '14 at 11:15

I've been using Chilkat for a few years now and it's worked fine. We recently upgraded our servers to Windows Server 2008 and now when I try to send out an encrypted email, I get this report back from the mailman object. Thing is, these same certificates worked fine before the upgrade.

The server is 64 bit but I have to use the 32 bit version of the dll because just having the 64 bit one in the bin folder causes the site to die.

ChilkatLog:
SendEmail:
DllDate: Aug 15 2013
ChilkatVersion: 9.4.1.42
UnlockPrefix: XXXXXXXX
Username: XXXXXXXX:XXXXXX
Architecture: Little Endian; 32-bit
Language: .NET 4.0
VerboseLogging: 0
hcCurDate: Thu, 01 May 2014 15:57:58 -0400
hcExpire: 11/2013
recipients:
  TO: XXXXXXXXXXX@XXXX.XXX
  totalCount: 1
--recipients
renderToMime:
  createEmailForSending:
    xSigningAlg: sha1
    Auto-generating Message-ID
    createSecureEmail:
      sendSigned: 0
      sendEncrypted: 1
      Creating encrypted email
      createPkcs7Mime:
        Using explicit certificates for encryption.
        Using explicitly specified certificates...
        createPkcs7Enveloped1:
          buildRecipientInfo:
            issuerSerialNum: 
            Failed to get certificate's serial number
            Failed to create IssuerAndSerial ASN.1
          --buildRecipientInfo
          Failed to build RecipientInfo ASN.1
          Failed to build PKCS7 enveloped.
        --createPkcs7Enveloped1
        Failed to encrypt message
      --createPkcs7Mime
    --createSecureEmail
  --createEmailForSending
  Failed to prepare email
--renderToMime
Failed to render email object to MIME
Failed.
--SendEmail
--ChilkatLog

Answer

Make sure to test with the latest version of Chilkat...