Problem with access Keycloak

Good night,
I’m trying to connect to seafile through my Keycloak server with HTTPS, but I’m receiving this error:

2023-12-10 21:13:44,039 [ERROR] seahub.oauth.views:152 oauth_callback HTTPSConnectionPool(host='', port=8444): Max retries exceeded with url: /realms/master/protocol/openid-connect/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1007)')))

You may need to use a lets encrypt certificate for keycloak or add the keycloak cert to the seafile cert store.