Create and Sign an X509 Certificate