I tested this Add-on without using proxy settings and it works great, but how do you get this to work if you have to utilize a proxy and is there any special configuration for certificates?
I know it's been a while...but does anyone know if that admin_api.set_proxy line still works?
Thanks.
This is an old question, but since it bit me too, here's a (bad) workaround.
In duo_input.py, in the run_script() funciton, add the following:
admin_api.set_proxy('proxy.example.org', 8080)
If your proxy server presents an SSL certificate, you will likely also need to add your root CAs to lib/duo_client/ca_certs.pem
.
Tried hacking in support for this in the code but wasn't successful (we also have to cater for SSL inspection). There are no parameters in the "Add Inputs" setup page to add proxy or other CA certs, unfortunately.