| Summary: | Default SSL certificate bundle is not found by openldap library | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Vcelak <jvcelak> | ||||||
| Component: | openldap | Assignee: | Jan Vcelak <jvcelak> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 16 | CC: | advax, jplans, jsynacek, jvcelak, ovasik, rmeggins, tsmetana | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openldap-2.4.29-3.fc17 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | 742023 | Environment: | |||||||
| Last Closed: | 2012-02-28 10:39:23 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | 742023 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jan Vcelak
2012-02-09 18:58:21 UTC
Proposed solution: (1) Use Mozilla NSS tools (certutil, modutil) to generate server certificate during installation instead of using OpenSSL tools. The database location will be /etc/openldap/certdb. (2) Load libnssckbi.so module into the database. This makes builtin root certificates available as requested. (3) Make default slapd configuration to use the certificate from this location. (4) Make default ldap.conf to use the certificates from that location. Created attachment 560689 [details]
script for generating certdb and server certificate
The script will be placed in /usr/libexec/slapd as the other scripts, will be called from the specfile.
Created attachment 560691 [details]
simple tests for certdb generated by the proposed script
decompress, place the ./setup-certificates.sh into the same directory, run the tests
Some changes will be necessary. The script has to be split, because we need the client libraries to work with builtin certificates without -servers package. Resolved in openldap-2.4.29-1.fc17 openldap-2.4.29-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/openldap-2.4.29-1.fc17 Package openldap-2.4.29-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openldap-2.4.29-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1755/openldap-2.4.29-1.fc17 then log in and leave karma (feedback). openldap-2.4.29-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/openldap-2.4.29-3.fc17 Package openldap-2.4.29-3.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openldap-2.4.29-3.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2113/openldap-2.4.29-3.fc17 then log in and leave karma (feedback). openldap-2.4.29-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |