SSL error:0D0680A8:asn1 encoding routines

From: <z.szalbot_at_lcwords.com>
Date: Mon, 25 Mar 2013 10:52:40 +0100

Dear all,

I am having trouble with opendkim. I had to give up on it for some time
but now I am really determined to get it to work. Here's what happens.
I have a FreeBSD 9.1-RELEASE machine with postfix postfix-2.9.4_2 and
opendkim-2.8.0. The opendkim.conf file was re-created today from scratch
by using the sample file from the latest DKIM version.
The opendkim starts fine with no errors being logged:
Mar 25 10:37:12 ns353444 opendkim[88510]: OpenDKIM Filter v2.8.0
starting (args: -l -u mailnull -P /var/run/milteropendkim/pid -x
/usr/local/etc/mail/opendkim.c onf)

However, as soon as I enable
smtpd_milters = inet:127.0.0.1:4445
non_smtpd_milters = inet:127.0.0.1:4445
in main.cf I get:
Mar 25 10:07:17 ns353444 opendkim[83905]: 2219B1A9871: SSL
error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag;
error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested
asn1 error; error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
tag; error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
error; error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib;
error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag;
error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
Mar 25 10:07:17 ns353444 opendkim[83905]: 2219B1A9871: dkim_eom():
resource unavailable: d2i_PrivateKey_bio() failed

I understand that there is some SSL problem here but I am not sure how
to debug it. Any help would be very much appreciated! Thank you very
much in advance

Zbigniew Szalbot
Received on Mon Mar 25 2013 - 09:53:52 PST

This archive was generated by hypermail 2.3.0 : Mon Mar 25 2013 - 10:00:02 PST