Bug 813957

Summary: dovecot proxy SSL connection requires CRLs
Product: Red Hat Enterprise Linux 6 Reporter: Orion Poplawski <orion>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: fsumsal, jherrman, ovasik, psklenar
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dovecot-2.0.9-17.el6 Doc Type: Bug Fix
Doc Text:
Prior to this update, dovecot logged a redundant "unable to get certificate" error message when no certification revocation list (CRL) was available. With this update, dovecot no longer treats missing CRL as an error, and no longer logs an error in the mentioned scenario.
Story Points: ---
Clone Of:
: 1124783 1229298 (view as bug list) Environment:
Last Closed: 2015-07-22 06:57:07 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:
Bug Depends On:    
Bug Blocks: 836160, 1229298    

Description Orion Poplawski 2012-04-18 20:50:05 UTC
Description of problem:

dovecot proxy SSL connection requires certificate CRLs:

Apr 18 14:21:40 hawk dovecot: imap-login: Invalid certificate: unable to get certificate CRL: /O=mail.cora.nwra.com/OU=Domain Control Validated/CN=mail.cora.nwra.com
Apr 18 14:21:40 hawk dovecot: imap-login: Invalid certificate: unable to get certificate CRL: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
Apr 18 14:21:40 hawk dovecot: imap-login: Invalid certificate: unable to get certificate CRL: /C=US/O=The Go Daddy Group, Inc./OU=Go Daddy Class 2 Certification Authority
Apr 18 14:21:40 hawk dovecot: imap-login: Invalid certificate: unable to get certificate CRL: /L=ValiCert Validation Network/O=ValiCert, Inc./OU=ValiCert Class 2 Policy Validation Authority/CN=http://www.valicert.com//emailAddress=info@valicert.com

This has been fixed in recent releases with this patch:

http://dovecot.org/list/dovecot-cvs/2011-November/019379.html

Version-Release number of selected component (if applicable):
dovecot-2.0.9-2.el6_1.1.i686

How reproducible:
everytime

Steps to Reproduce:
1. Enable auth-static.conf.ext in 10-auth.conf
2. Set something like:

passdb {
  driver = static
  args = proxy=y host=mail.example.com nopassword=y ssl=y
}

3. Connect to proxy
  
Actual results:
Connection fails

Expected results:
Connection works

Comment 1 Orion Poplawski 2012-04-18 20:51:14 UTC
I should note that the patch is in the current dovecot releases.

Comment 6 errata-xmlrpc 2015-07-22 06:57:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1348.html