ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020811ClearOSapp-openldap - OpenLDAP Driverpublic2018-07-18 09:392019-02-23 12:58
Reporteruser2 
Assigned Todloper 
PrioritynormalSeveritytweakReproducibilityhave not tried
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.5.0 
Target Version7.6.0 UpdatesFixed in Version 
Summary0020811: Fix OpenLDAP certificate issue
DescriptionThe bootstrap certificates can be mismatched in some cases. Here's the problematic bit of code:

KEY_SOURCE=/etc/pki/CA/bootstrap.key
KEY=/etc/openldap/cacerts/key.pem

if [ ! -s "$KEY" ]; then
    logger -p local6.notice -t installer "app-openldap-core - prepping server key"
    cp $KEY_SOURCE $KEY
    chown root.ldap $KEY
    chmod 640 $KEY
fi

CRT_SOURCE=/etc/pki/CA/bootstrap.crt
CRT=/etc/openldap/cacerts/cert.pem

if [ ! -s "$CRT" ]; then
    logger -p local6.notice -t installer "app-openldap-core - prepping server certificate"
    cp $CRT_SOURCE $CRT
    chown root.ldap $CRT
    chmod 640 $CRT
fi


The key/pair should always be copied at the same time.

TagsNo tags attached.
Attached Files

- Relationships
related to 0021141closeduser2 Create common tool to deploy certificates 

-  Notes
(0009191)
dloper (administrator)
2019-02-23 12:58

Migrated to: https://gitlab.com/clearos/clearfoundation/app-openldap/issues/1 [^]

- Issue History
Date Modified Username Field Change
2018-07-18 09:39 user2 New Issue
2018-07-18 09:39 user2 Status new => confirmed
2018-08-14 14:42 user2 Summary Add workaround for OpenLDAP certificate issue => Fix OpenLDAP certificate issue
2018-08-14 14:42 user2 Description Updated View Revisions
2018-08-14 14:42 user2 Relationship added related to 0021141
2018-10-30 14:27 user2 Target Version 7.5.0 Updates => 7.6.0
2019-02-12 15:18 dloper Target Version 7.6.0 => 7.6.0 Updates
2019-02-23 12:58 dloper Note Added: 0009191
2019-02-23 12:58 dloper Status confirmed => closed
2019-02-23 12:58 dloper Assigned To => dloper
2019-02-23 12:58 dloper Resolution open => suspended