Fix CERT_FILE issue