title: X.509 Certificate From Private Key
body: <p>I was sent a private key in plain text form to be used to Encrypt/Decrypt  SAML2P request and response messages. However the routine that I'm using require an X.509 certificate. How do I store the private key in an X.509 certificate so that it may encrypt and decrypt the message.</p>