Certificate for Remote Desktop using a Comodo Multi-domain certificate
Posted on 2013-12-27
I have UC certificate from Comodo which allows us to have certificates for a number of servers and domains included in one file.
This works well on our Apache web server (Linux server). I want to use the same certificate in Remote desktop under windows 2012. I've exported it as a .pfx file and told remote desktop to use this certificate.
openssl pkcs12 -export -out server.pfx -inkey server.key -in server.crt
The problem I have as that when people connect they get a certificate error message that says the server name in the certificate is wrong. It picks the first server name in the certificate and display that name. It doesn't appear to understand that it's elsewhere in the certificate.
Not sure how to fix this. Is there a way to create the pfx file with just the hostname that I need? Would it work if I used the certificate and not a pfx file?