Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17877 - dev-libs/openssl-0.9.6i-r1 Error negotiating SSL connection
Summary: dev-libs/openssl-0.9.6i-r1 Error negotiating SSL connection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 10:06 UTC by Toby Dickenson
Modified: 2003-10-13 09:09 UTC (History)
0 users

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 Toby Dickenson 2003-03-20 10:06:52 UTC
I am running a squid built from source, not ebuild. After upgrading to 
dev-libs/openssl-0.9.6i-r1 squid is refusing SSL connections, and issuing the following 
cache.log entry for every attempted connect. Downgrading to dev-libs/openssl-0.9.6i 
makes the problem go away. 
 
Further investigation is in progress. 
 
clientNegotiateSSL: Error negotiating SSL connection on FD 16: error:1408F455:SSL 
routines:SSL3_GET_RECORD:decryption failed or bad record mac.
Comment 1 Toby Dickenson 2003-03-21 04:55:50 UTC
I can reproduce this on another box. incoming ssh works with rsa and dsa keys, but incoming https to squid fails as described.

Further investigation is in progress.
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2003-03-21 09:42:34 UTC
Have you tried to rebuild squid? 
Comment 3 Toby Dickenson 2003-03-21 12:16:38 UTC
Things I have tried that didnt help: 
1. last years expired keys from a different CA 
2. recompiling squid 
3. backing out our private patches, back to a standard 2.5.stable1 
 
Have raised this on the squid list.... 
 
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2003-06-13 07:28:30 UTC
Is this still a problem?
Comment 5 Toby Dickenson 2003-06-13 08:07:13 UTC
The problem still stands with -r1. I havent tried -r2; I am still using openssl-0.9.6i. 
 
I raised the problem on the squid list, but with no reply. 
 
Ive seen no mention of this affecting anyone except me, so I think its safe to 
leave it marked as resolved. 
 
 
 
 
Comment 6 Toby Dickenson 2003-07-10 05:14:44 UTC
Ive found some time for another look at this. My problem squid is running in a chroot jail. I see the reported problem only if:
1. It is running chroot
2. It is using dev-libs/openssl-0.9.6i-r1 or dev-libs/openssl-0.9.6i-r2

I can make the problem go away by:
a. downgrading to dev-libs/openssl-0.9.6i (as in the original report)
b. not running chroot.

This is very strange. All the files in the jail are synchronised with the real root, and -r1 doesnt change anything that should be relevant to chroot. There is  no obvious difference between the two processes, looking in /proc/X/maps and /proc/X/fd.
Comment 7 Daniel Ahlberg (RETIRED) gentoo-dev 2003-10-13 09:09:04 UTC
as requested