I am trying to generate .pfx which i want to use on azure.
I am using .crt downloaded from godaddy and private key (.txt) .
When i run below OpenSSH command, i get invalid private key related errors.
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile more.crt
Here it is expecting key as .KEY format but while purchasing SSL from godaddy they gave it as .txt file, how to convert it to proper .KEY extension if that is the issue here.
I tried to manually save it as .key using notepad but it does not work.