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?

Howard
  • 2,135
  • 13
  • 48
  • 72

1 Answers1

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.