~]# vi /etc/openldap/slapd.d/cn\=config/olcDatabase=jIcf5iibFyYGd3/n3qdHpB4ambD9C4f2 ~]# cp -r /etc/openldap/slapd.d/cn\=config /tmp Backup the configuration files before editing. Organizational Unit Name (eg, section) :ITĬommon Name (eg, your name or your server's hostname) :SPPRDĮmail Address Note the certificate path because we are going to add it to LDAP configuration file State or Province Name (full name) :Lagos If you enter '.', the field will be left blank.Įnter your details to generate the certificate Country Name (2 letter code) :NG There are quite a few fields but you can leave some blankįor some fields there will be a default value, What you are about to enter is what is called a Distinguished Name or a DN. You are about to be asked to enter information that will be incorporated Writing new private key to '/etc/pki/tls/certs/tekneedldapkey.pem' Create a self signed certificate for LDAP ~]# openssl req -new -x509 -nodes -out /etc/pki/tls/certs/tekneedldap.pem -keyout /etc/pki/tls/certs/tekneedldapkey.pem -days 365
0 Comments
Leave a Reply. |