Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 672104

Summary: net-nds/openldap-2.4.45: error: No certificates were generated
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: lssndrbarbieri, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-11-27 21:31:34 UTC
pkg_postinst has thrown an error:

 * Generating OpenSSL configuration for CA ...
 [ ok ]
 * Generating 4096 bit RSA key for CA ...
 [ ok ]
 * Generating Certificate Signing Request for CA ...
 [ ok ]
 * Generating self-signed X.509 Certificate for CA ...
 [ ok ]

 * Generating OpenSSL configuration ...
 [ ok ]

 * //etc/openldap/ssl/ldap.key: exists, skipping
 * No certificates were generated
 * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]
 * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]
 * add 'TLS_REQCERT allow' if you want to use them.
chown: cannot access '/var/run/openldap': No such file or directory
chmod: cannot access '/var/run/openldap': No such file or directory
 * Getting started using OpenLDAP? There is some documentation available:
 * Gentoo Guide to OpenLDAP Authentication
 * (https://wiki.gentoo.org/wiki/Centralized_authentication_using_OpenLDAP)
 * ---
 * An example file for tuning BDB backends with openldap is
 * DB_CONFIG.fast.example in /usr/share/doc/openldap-2.4.45/
>>> net-nds/openldap-2.4.45 merged.
>>> Regenerating /etc/ld.so.cache...
Comment 1 Pacho Ramos gentoo-dev 2019-11-10 16:11:32 UTC
2.4.48 looks to work ok for me, are you still hitting this?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-06-05 07:15:09 UTC
Can't reproduce