Date: Thu, 23 Jan 2003 12:02:13 +0200 (SAST) From: Wayne Swart <fixx@fixx.co.za> To: FreeBSD Mailing list <freebsd-questions@freebsd.org> Subject: stunnel problem Message-ID: <20030123113748.W1502-100000@gemini.fixx.co.za>
next in thread | raw e-mail | index | archive | help
Lo can someone please help me with a stunnel problem i am using bsd 4.7 and generated my own CA using /usr/src/crypto/openssl/apps/CA.sh but when i want to use the CA with stunnel, the stunnel.sh script logs the following error: 2003.01.23 11:21:31 LOG5[5372:134598656]: stunnel 4.04 on i386-portbld-freebsd4.7 PTHREAD+LIBWRAP with OpenSSL 0.9.6g 9 Aug 2002 2003.01.23 11:21:31 LOG7[5372:134598656]: RAND_status claims sufficient entropy for the PRNG 2003.01.23 11:21:31 LOG6[5372:134598656]: PRNG seeded successfully 2003.01.23 11:21:31 LOG7[5372:134598656]: Certificate: /usr/local/etc/stunnel/cakey.pem 2003.01.23 11:21:31 LOG7[5372:134598656]: Key file: /usr/local/etc/stunnel/cakey.pem 2003.01.23 11:21:31 LOG3[5372:134598656]: error stack: 140B3009 : error:140B3009:SSL routines:SSL_CTX_use_RSAPrivateKey_file:missing asn1 eos 2003.01.23 11:21:31 LOG3[5372:134598656]: SSL_CTX_use_RSAPrivateKey_file: 906D06C: error:0906D06C:PEM routines:PEM_read_bio:no start line am i using the right CA ? it is the one that CA.sh puts under ./demoCA/private? I do not really understand that error, so i am not to sure if it is the script or the certificate that is causing the error. can someone please help me with this? thanks a mil wayne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030123113748.W1502-100000>