title: How to convert X509 certificate and private key in PEM format to GPG format?
body: <p>I have an X509 certificate (chain) and private key in PEM format. I need to convert them to GPG format so I can use them for signing. How can I do that?</p>
  
  <p>I tried gpgsm, but the keys still don't appear on gpg list of keys.</p>
  
  <p>Please, advise.</p>