I have just built openssl and stunnel on a Sparc Solaris 2.6 machine. When I test stunnel, based on the INSTALL instructions if fails on startup. The command and error follow:
./stunnel -f -d 993 -r imap
LOG3[6564:1]:SSL_CTX_use_certificate_file:error:0200100D:system
library:fopen:ASN1 lib
I built the server certificate with the following commands. It is a bit of a mix from the Makefile and man page.
openssl req -new -nodes -x509 -days 365 -config \
stunnel.cnf -out stunnel.pem -keyout stunnel.pem
openssl gendh -rand `test -c /dev/random && echo /dev/random`
\
512 >> stunnel.pem
openssl x509 -subject -dates -fingerprint -noout \
-in stunnel.pem
Any thoughts as to what is wrong and how to fix it?
Thanks in advance,
Otto
--
Otto L. Miller
[EMAIL PROTECTED]
SSDS
Suite 400
2751 Prosperity Avenue
Fairfax, VA 22031-4308
703-289-2271 Voice
703-208-1791 Fax
begin:vcard n:Miller;Otto tel;fax:703-208-1791 tel;work:703-208-1770 x-mozilla-html:TRUE url:www.ssds.com org:SSDS, Inc. version:2.1 email;internet:[EMAIL PROTECTED] title:Network Architect adr;quoted-printable:;;Suite 400=0D=0A2751 Prosperity Avenue;Fairfax;VA;22031-4308;USA fn:Otto L. Miller end:vcard