RE: d2i_PrivateKey_bio() failed

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Wed, 21 Mar 2012 17:55:04 +0000

Looks like your private key file is corrupt. The function that failed attempts to read it into memory and prepare it for use by other functions, but that failed. It did get as far as reading data from the file, however, and determined that it was not a key in PEM format. If you followed the steps in that blog post, then the keys should indeed be PEM-formatted, so something went wrong somewhere in there.

I suggest repeating the key generation and installation step.

-MSK

From: opendkim-users-bounce_at_lists.opendkim.org [mailto:opendkim-users-bounce_at_lists.opendkim.org] On Behalf Of Tim Fluhr
Sent: Wednesday, March 21, 2012 10:44 AM
To: opendkim-users_at_lists.opendkim.org
Subject: d2i_PrivateKey_bio() failed

Hello everyone.

I'm having a couple problems getting opendkim configured properly.

I've followed the instructions located at http://stevejenkins.com/blog/2010/09/how-to-get-dkim-domainkeys-identified-mail-working-on-centos-5-5-and-postfix-using-opendkim/

When I try to send mail from the command line I get the following errors in my mail.log

Mar 21 10:53:26 hostname opendkim[1933]: 4C22B1C2A3D: dkim_eom(): resource unavailable: d2i_PrivateKey_bio() failed

Mar 21 10:53:26 hostname postfix/cleanup[1951]: 4C22B1C2A3D: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.0 resource unavailable; from=<test_at_hostname.org<mailto:test_at_hostname.org>> to=<test_at_test.org<mailto:test_at_test.org>>

Mail will not send until I stop the opendkim service. Once the service is stopped mail will send, but will not be signed.

Thanks for the help.

-tim
Received on Wed Mar 21 2012 - 17:55:12 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:38 PST