Subject: Re: OpenSSL / unable to load PKCS7 object
To: None <netbsd-help@NetBSD.org>
From: Pierre-Philipp Braun <ppwb@club-internet.fr>
List: netbsd-help
Date: 08/28/2003 11:57:38
I had to remove the blank lines in there.

Quoting Pierre-Philipp Braun (Aug 21, 2003 01:55 +0200),

> Hi all,
> i'm trying to make a certificate for use with S/MIME into Pine.
> But when i type,
>
> /usr/pkg/bin/openssl pkcs7 -in pk7 -print_certs -out cert
>
> i get,
>
> unable to load PKCS7 object
> 9966:error:0906D066:PEM routines:PEM_read_bio:bad end line:pem_lib.c:762:
>
> whereas i did like explained there:
> https://www.tbs-internet.com/ssl/cert-smime-signe-unix.html
> with the "-----END PKCS7-----" formatted 'pk7' file.
> BTW i get the same error msg with "-----END PKCS #7 SIGNED DATA-----" format.
>
> FYI, I'm using openssl-0.9.6gnb2 package on NetBSD 1.6.1.
>
> Any advice to get around this issue would be appreciated.
> Thanks in advance
>

-- 
Pierre-Philipp