I have an openssl public key file. I converted it to PEM format for azure.
However, when i try to create an azure vm with it, it gives me this msg:
The certificate is in an invalid format. X.509 standard format in a .cer or .pem file is supported.
What am i doing wrong?
Update:
This is how the top line of my .pem file looks like:
-----BEGIN RSA PUBLIC KEY-----