import snfOCCI.config
import voms_helper
+import exception
SSL_CLIENT_S_DN_ENV = "SSL_CLIENT_S_DN"
SSL_CLIENT_CERT_ENV = "SSL_CLIENT_CERT"
except M2Crypto.X509.X509Error:
print "Error getting certificate chain"
- with voms_helper.VOMS(VOMS_CONFIG["vomsdir_path"],
- VOMS_CONFIG["ca_path"], VOMS_CONFIG["vomsapi_lib"] as v:
+ with voms_helper.VOMS(VOMS_CONFIG["vomsdir_path"],VOMS_CONFIG["ca_path"], VOMS_CONFIG["vomsapi_lib"]) as v:
if self._no_verify:
v.set_no_verify()
voms_data = v.retrieve(cert, chain)