Get rid of openssl::genx509 and files/generate-x509-cert.sh

  rebase openssl::certificate::x509 on x509_cert and x509_csr
Add validations in openssl::certificate::x509