OpenAI module (python) doesn't work with self signed certificates

I am using the module with a self signed certificate, and I get an SSL error:
openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host=‘’, port=443): Max retries exceeded with url: /v1/chat/completions (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:992)’)))

I can get requests module to work with self signed certificate like this: response = requests.get(url, verify = “path to .crt file”)

However, how do I get OpenAI API to work with self signed certificate?

Please check my comment in the below if that can help