#379 Updated x509 validate lib