KB - How to extract a certificate and private key from a signed certificate