Need help: being asked to upload public key in PEM format...

pdesgrip's Avatar


04 Apr, 2012 12:02 PM

HI there, I have created my key and it works just fine. I need to upload the key to a website. The site asks for the exported key file to be: "OpenPGP key or S/MIME certificate in PEM format". When I export from GPG keychain access I only have the choice of ACSII or binary file types. When I attempt to upload either of these I get an error stating the file does not contain a key in PEM format. Any ideas?


  1. Support Staff 1 Posted by Luke Le on 04 Apr, 2012 12:09 PM

    Luke Le's Avatar

    Hi pdesgrip,

    is there any possibility to select OpenPGP or S/MIME?
    PEM format is usually only used for S/MIME certificates, so if it allows you to upload an OpenPGP key as well, it should take the exported file with either .asc or .gpg extension.

    What site is this?

  2. 2 Posted by pdesgrip on 04 Apr, 2012 12:19 PM

    pdesgrip's Avatar

    it's called, yes there is an S/MIME option as well as open PGP which I selected . I have attached a screenshot of the page in any case.

  3. Support Staff 3 Posted by Luke Le on 04 Apr, 2012 12:26 PM

    Luke Le's Avatar

    Could you also please post an image of the error message you're seeing?

    btw. sprichst du deutsch?

  4. 4 Posted by pdesgrip on 04 Apr, 2012 12:29 PM

    pdesgrip's Avatar

    OK, I just got it to work. It was a silly oversight by me. The first key I had been trying to upload had expired. I mistook the error message as saying it needed to be in PEM format when that only applied to the MIME upload. When I created a new key and uploaded in ASCII it worked fine. Sorry for wasting your time and thanks for your swift response!

  5. Support Staff 5 Posted by Luke Le on 04 Apr, 2012 12:30 PM

    Luke Le's Avatar

    Ah perfect!
    Glad you figured it out so quickly :)
    Closing this discussion. Feel free to open a new one any time

  6. Support Staff 6 Posted by Steve on 04 Apr, 2012 04:50 PM

    Steve's Avatar

    really closing the discussion...

  7. Steve closed this discussion on 04 Apr, 2012 04:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac