The last modifications of this post were around 2 years ago, some information may be outdated!
Summary
Azure requires pfx formatted SSL certificates. Use ssl tool to convert cer to pfx. Requires knowledge of password.
Code
openssl pkcs12 -export -out final_name.pfx -inkey private_key.key -in original_certificate.crt