Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66889 - SSL error in net-misc/stunnel-4.05
Summary: SSL error in net-misc/stunnel-4.05
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-09 09:07 UTC by Kevin Williams
Modified: 2005-05-13 23:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Williams 2004-10-09 09:07:42 UTC
Possibly relating to bug #60733. First documented in http://forums.gentoo.org/viewtopic.php?t=182240.

When I do this:

./CA.pl -sign
Using configuration from /etc/ssl/openssl.cnf
11094:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:329:group=CA_default name=unique_subject
Enter pass phrase for ./demoCA/private/cakey.pem:

I can enter the correct pass phrase and the process completes OK.

Then I do this:

openssl x509 -in newcert.pem -out /etc/stunnel/stunnel.pem

And that is fine.

When I run stunnel, I get this:


2004.06.05 20:46:04 LOG5[11074:16384]: stunnel 4.04 on i686-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.7d 17 Mar 2004
2004.06.05 20:46:04 LOG3[11074:16384]: error stack: 140B3009 : error:140B3009:SSL routines:SSL_CTX_use_RSAPrivateKey_file:PEM lib
2004.06.05 20:46:04 LOG3[11074:16384]: SSL_CTX_use_RSAPrivateKey_file: 906D06C: error:0906D06C:PEM routines:PEM_read_bio:no start line
Comment 1 Stian Skjelstad 2005-03-07 19:47:41 UTC
Where do you get ./CA.pl from? What directory are you in? Some errors with x509 can come from entries being invalid, such as giving a country string longer that 2 bytes, or null-length common-name etc. Need info would be needed in order to identify your problem.

/usr/share/doc/4.05/ca.pl is the closest I can see from stunnel, or /etc/ssl/misc/CA.pl from the openssl package itself.
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2005-05-13 20:00:32 UTC
Are you still having this problem?
Comment 3 Lance Albertson (RETIRED) gentoo-dev 2005-05-13 20:01:00 UTC
Please let me know! :)
Comment 4 Kevin Williams 2005-05-13 22:45:02 UTC
Yes, nothing has changed.
Comment 5 Lance Albertson (RETIRED) gentoo-dev 2005-05-13 23:02:58 UTC
Can you try the 4.09 version in portage? I just committed that today.