I get the following error:
javax.script.ScriptException: urllib3.exceptions.SSLError: [Errno 1] General SSLEngine problem (javax.net.ssl.SSLHandshakeException: General SSLEngine problem)
I have setup an SSL Context service, with the servers key in a trust store, and pointed the SSL Context service to the trust store. The Nifi SSL Context Service is currently only associated with the controller, not sure how that gets associated with the Execute Script Processor.
The python script works when called from the command line.