Tools for encryption files under X509 certificates