ldctl not support X509 format, need certutil to import. $ mkdir openldap-cert-db
$ cd openldap-cert-db
$ certutil -N -d .
$ certutil -A -n openldap-ca -t "P,P,P" -i $HOME/ca.pem -d . Then enter cert password. Result: $ ls -l
total 76
drwxr-xr-x 2 root root 4096 Aug 26 05:16 .
drwx------ 1…