VPN server connection problem with PrivacyIDEA

Hello, I have a problem with configuring the OpenVPN server connection with the PrivacyIDEA server

Here is my openvpn configuration file:

auth [success=1 default=ignore] /usr/lib64/security/pam_privacyidea.so url=https://xxx.xxx.xxx

auth requisite pam_deny.so
auth required pam_permit.so
auth optional pam_cap.so

And this is what I get in the auth.log logs:
Sep 23 13:42:58 vpn01 pam_privacyidea[43168]: pam_privacyidea(openvpn:auth): Setting url=https://xxx.xxx.xxx
Sep 23 13:42:58 vpn01 pam_privacyidea[43168]: pam_privacyidea(openvpn:auth): Unable to open offline file. Error: 2 No such file or directory
Sep 23 13:42:58 vpn01 pam_privacyidea[43168]: pam_privacyidea(openvpn:auth): Unable to send request to the privacyIDEA server. Error 35
Sep 23 13:42:58 vpn01 pam_privacyidea[43168]: pam_privacyidea(openvpn:auth): Unable to parse the response from the privacyIDEA server. Response: #012 Error 1

Does anyone have an idea what the problem is? I did not find any error related to such messages on the forum. Please help.

the problem is curl error 35, which has to do with SSL.
You can check if it works without ssl or if you can identify any problem in that area.