I'm getting the same issue but with the ldap module when verify certificate option is enabled.

Is there a workaround ? Disabling verify permanently is a security issue.