Changes

Jump to: navigation, search

OPS535-lab-ldap

61 bytes added, 21:43, 30 September 2020
m
Investigation 2: Modifying OpenLDAP Server Configuration to use TLS: - adding note about file ownership
openssl x509 -req -in vm1.pcallagh.ops.csr -CA ca.cert.pem -CAkey ca.key -out vm1.pcallagh.ops.crt -CAcreateserial -days 365 -sha256
</source></li>
<li>Copy the certificate, the private key, and the certificte authority file to an appropriate directory (make sure the directory and the files in it is are owned by the ldap accountwith permissions set to 0600):
<source>cp ldap.pcallagh.ops.crt ldap.pcallagh.ops.key ca.cert.pem /etc/openldap/certs/</source></li>
<li>Write an ldif file to add the following values to dn: cn=config (again making sure to put in values from your own machine):
932
edits

Navigation menu