Use OpenSSL to create self signed certificate and register certificate with the CA.