fully working x509