# Required files:
# domain.crt and godaddy.p7b: provided by Godaddy when exporting
# private.key: self-generated file that was needed to create CSR (Certificate signing request)
$ openssl pkcs12 -export -in domain.crt -inkey private.key -certfile godaddy.p7b -out domain.pfx
# or if you need intermediate .cer instead of .p7b
$ openssl pkcs7 -print_certs -in godaddy.p7b -out godaddy.crt
$ openssl pkcs12 -export -in domain.crt -inkey private.key -certfile godaddy.cer -out domain.pfx
# the password asked by the command will be used when uploading the pfx to Azure