Import also the private key
This commit is contained in:
parent
de8864ce83
commit
608d399434
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ MIKROTIK_HOST="mikrotik"
|
|||
systemctl reload nginx
|
||||
systemctl restart sssd
|
||||
|
||||
# Re-add the private key in LDAP *IMPORTANT*
|
||||
|
||||
dsctl "${LDAP_SHORTNAME}" tls import-server-key-cert /etc/letsencrypt/live/"${LE_DOMAIN}"/fullchain.pem \
|
||||
/etc/letsencrypt/live/"${LE_DOMAIN}"/privkey.pem
|
||||
|
||||
# Re-import the certificate in the LDAP store
|
||||
|
||||
dsconf -v -D "cn=Directory Manager" "${LDAP_SHORTNAME}" security certificate add \
|
||||
|
|
Loading…
Add table
Reference in a new issue