6.3. Copying certificates to the SSSD directory
GNOME Desktop Manager (GDM) requires SSSD. If you use GDM, you need to copy the PEM certificate to the /etc/sssd/pki directory.
Prerequisites
- The local CA authority and certificates have been generated
Procedure
Ensure that you have SSSD installed on the system.
# rpm -q sssd sssd-2.0.0.43.el8_0.3.x86_64Create a
/etc/sssd/pkidirectory:# file /etc/sssd/pki /etc/sssd/pki/: directoryCopy the
rootCA.crtas a PEM file in the/etc/sssd/pki/directory:# cp /tmp/ca/rootCA.crt /etc/sssd/pki/sssd_auth_ca_db.pemNow you have successfully generated the certificate authority and certificates, and you have saved them in the
/etc/sssd/pkidirectory.참고If you want to share the Certificate Authority certificates with another application, you can change the location in sssd.conf:
-
SSSD PAM responder:
pam_cert_db_pathin the[pam]section -
SSSD ssh responder:
ca_dbin the[ssh]section
For details, see man page for
sssd.conf.Red Hat recommends keeping the default path and using a dedicated Certificate Authority certificate file for SSSD to make sure that only Certificate Authorities trusted for authentication are listed here.
-
SSSD PAM responder: