When running nghttpx as a front end proxy and OCSP Stapling is attempted, an error "ocsp query command for /../../cert.pem failed: error=0, rstatus=100, status=1" This happens because a Python script, /usr/local/share/nghttpx/fetch-ocsp-response, is executed to check ssl certificates.
The problem: the script is missing the #!/usr/bin/env on the first line of the file.
The fix: I do not know how to create a portable version but inserting '#!/usr/bin/env python2.7' on the first line removed the erros and OCSP stapling is working for me now.
Unless I'm misinterpreting things, all the python files in / and /python/ are set to use "python"
This script is installed to DATADIR which is not intended to run directly. I removed the shebang to avoid unnecessary python dependency.
OCSP Stapling is not possible unless this script is executed by Python. The script is pointless otherwise. Can nothing be done about it?