1

Normally I use a pem file to login into my ec2 instance via

ssh -i key.pem

Now, in Azure, their requirement during instance creation is

UPLOAD AN SSH KEY OR PROVIDE A PASSWORD FOR AUTHENTICATION
You can upload an X.509 certificate (in .cer or .pem format) or provide your password to      
sign in to a virtual machine.

So how to convert the pem to X.509 certificate?

1 Answer 1

2

The Azure documentation discusses this here. For some reason, they require you to upload your SSH public key encapsulated in a useless self-signed X.509 certificate. Weird.

1
  • link no longer mentions 509 ... why we like inline answers. Sep 21, 2019 at 22:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .