Red Hat Bugzilla – Bug 871670
Current PEM support in NSS does not understand CRL in the PEM file
Last modified: 2016-08-15 11:53:09 EDT
Description of problem:
Have a root CA configured in slapd.conf with TLSCACertificateFile (in PEM format). This worked fine when OpenSSL was used.
However, since PEM support under NSS was linked with OpenLDAP, if the CA file contains a CRL (which Dovocot likes), the file will not be understood and the SSL handshake on port 636 will fail like this:
139777063356256:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177:
no peer certificate available
No client certificate CA names sent
SSL handshake has read 0 bytes and written 137 bytes
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a CA PEM file configured for OpenLDAP that includes CRL.
2. Start slapd, connect using openssl s_client.
3. Fails to serve a certificate, because the CA file was not understood by /lib64/libnsspem.so.
Fails to read the PEM file that has CRL included.
Should work, if this is a replacement for OpenSSL.
Workaround: create a PEM file with the CA, but without the CRL. Point to it from TLSCACertificateFile.
libcurl uses its own code for loading CRL certificates, but they need to be specified separately:
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '17'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged change the
'version' to a later Fedora version prior to Fedora 17's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.
(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)
More information and reason for this action is here:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.