Hello, I am using Web2Py with Python 3.7. I have 2 web2py applications one is the CAS provider and the other is a CAS client. This works without problems with rocket server in development environment.
Now, I need to run these apps under Apache / Windows operating system, I have both apps in the applications folder. The server is already serving other applications with a valid Let's Encrypt certificate. When I run the CAS Client application it tries to redirect to the CAS Server application for authentication and then I get the SSL error: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)> What is the best solution to this? Since these requests go within the local server, should I have a self-signed certificate to avoid the SSL error?And if so, how do I register this certificate to have urllib handle it? I have looked into certifi's PEM file. Do I need to edit this file? Alternatively, could I use the non-localhost link (internet link) and have urllib validate using the Let's encrypt certificate in place? Is Let's encrypt among certificate authorities for urrllib? or python SSL environment? I think going internally should be a better solution though. I look forward to some guidance. Thank you, Clara -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/139e64fc-8d26-4eb2-a5f4-67324f18a91e%40googlegroups.com.