Import to OpenLDAP

Use the pk12util to add the keystore to the OpenLDAP certificate database.

pk12util -i cert.p12 -d /etc/openldap/certs -k /etc/openldap/certs/password

Output of this command will generate a nickname. Replace <nickname> in next command with this nickname.

certutil -M -n "<nickname>" -t "T,," -d /etc/openldap/certs

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer