validate_proxy¶
- gwdatafind.utils.validate_proxy(path)¶
Validate an X509 proxy certificate file.
Warning
This method is deprecated and will be removed in a future release.
This function tests that the proxy certificate is
RFC 3820compliant and is not expired.- Parameters:
path (
str) – the path of the X509 file on disk.- Returns:
valid (
True) – if the certificate validiates.- Raises:
RuntimeError – if the certificate cannot be validated.