Welches Format haben öffentliche Schlüssel zum Erstellen von Azure-VMs?

Welches Format haben öffentliche Schlüssel zum Erstellen von Azure-VMs?

Ich habe eine öffentliche OpenSSL-Schlüsseldatei. Ich habe sie für Azure in das PEM-Format konvertiert.

Wenn ich jedoch versuche, damit eine Azure-VM zu erstellen, erhalte ich diese Meldung:

The certificate is in an invalid format. X.509 standard format in a .cer or .pem file is supported.

Was mache ich falsch?

Aktualisieren:
So sieht die oberste Zeile meiner PEM-Datei aus:

-----BEGIN RSA PUBLIC KEY-----

verwandte Informationen