Adding a certificate with a public key