Bug 1146905

Summary: ipa throws errors 907 (incompatible ssl/tls versions) when mod_nss is configured to just TLS 1.1 and 1.2
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED DUPLICATE QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: djasa, mkosek, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-21 09:44:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Jaša 2014-09-26 10:22:25 UTC
Description of problem:
When accessing some page (one of the Hosts), I keep getting the error 907:
"""
cannot connect to 'https://idm.spice.brq.redhat.com:443/ca/agent/ca/displayBySerial': [Errno -12190] (SSL_ERROR_PROTOCOL_VERSION_ALERT) Peer reports incompatible or unsupported protocol version.
"""
The error started popping up after I disabled TLSv1 in mod_nss configuration. As TLS 1.0 is outdated for quite a long time already, FreeIPA should be able to work in 1.1+1.2 or pure TLS 1.2 environments

Version-Release number of selected component (if applicable):
ipa-server-3.0.0-37.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. in /etc/httpd/conf.d/nss.conf, change NSSProtocol line to:
NSSProtocol TLSv1.1,TLSv1.2
2. restart httpd
3. browse web ui, try doing some actions

Actual results:
error 907 such as above pops up from time to time

Expected results:
IPA should work without any glitch when only recent TLS versions are enabled in httpd

Additional info:
logs may reveal another pain points...

Comment 1 Rob Crittenden 2014-09-26 13:31:15 UTC
More specifics are needed on exactly which pages work and which pages do not.

This particular error is associated with fetching data from dogtag to display the certificate status (revoked or not) so it may be that only those entries with certificates are at issue.

Did you test with the cli at all?

Comment 2 David Jaša 2014-09-29 08:49:34 UTC
(In reply to Rob Crittenden from comment #1)
> More specifics are needed on exactly which pages work and which pages do not.
> 

I've only seen the error on the host list. My IPA isn't populated enough IMO to see if this is the only occurence of the error or not.

> This particular error is associated with fetching data from dogtag to
> display the certificate status (revoked or not) so it may be that only those
> entries with certificates are at issue.
> 
> Did you test with the cli at all?

No, I use CLI only seldom so I reported the bug and reverted the setting back.

Comment 3 Martin Kosek 2014-11-21 09:44:41 UTC
IPA Poodle fixes are tracked in Bug 1154687, closing this one as duplicate.

If you are interested in TLS 1.2 support in mod_nss, please track Bug 1166316 instead.

*** This bug has been marked as a duplicate of bug 1154687 ***