3.8. Configuring timeouts in sssd.conf
Authentication with a smart card certificate might take longer than the default timeouts used by SSSD. Time out expiration can be caused by:
- A slow reader
- Forwarding from a physical device into a virtual environment
- Too many certificates stored on the smart card
- Slow response from the OCSP (Online Certificate Status Protocol) responder if OCSP is used to verify the certificates
In this case you can prolong the following timeouts in the sssd.conf file, for example, to 60 seconds:
-
p11_child_timeout -
krb5_auth_timeout
Prerequisites
- You must be logged in as root.
Procedure
Open the
sssd.conffile:[root@idmclient1 ~]# vim /etc/sssd/sssd.confChange the value of
p11_child_timeout:[pam] p11_child_timeout = 60Change the value of
krb5_auth_timeout:[domain/IDM.EXAMPLE.COM] krb5_auth_timeout = 60Save the settings.
Now, the interaction with the smart card is allowed to run for 1 minute (60 seconds) before authentication fails with a timeout.