In Virtual Machine Scale Sets and VMs, certificates must be wrapped in JSON objects.
We also support the content type application/x-pkcs12.
We currently don't support .cer files. To use .cer files, export them into .pfx containers.