A customer had a Lync 2010 environment with a pool name that used a private domain name and not an FQDN. When we attempted to request a UCC certificate from GoDaddy.com from the CSR generated from the Lync Deplyment Wizard we recieved the error:
You must use a fully-qualified primary domain name for UCC Certificate Request.
We called GoDaddy and according to them there was no way around this. So after attempting to generate a customized CSR with the Request-CsCertificate command without any success, we found how to manually generate a customized CSR using the certreq command.
First create an INF file called cert.inf with the following content:
[NewRequest]
Subject = “CN=name.company.com“
Exportable = TRUE
KeyLength = 2048
MachineKeySet = True
FriendlyName=”Your Cert Friendly Name“
KeySpec=1
[EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1 ; Server Authentication
[RequestAttributes]
CertificateTemplate=WebServer
SAN=”dns=meet.company.com&dns=dialin.company.com&dns=lync.company.local“
Then use the command
certreq –new cert.inf cert.req
If you get an error about not having a template just ignore it. Then open the cert.req file that was created in notepad and copy the CSR and paste it into GoDaddy. I had to manually add my alternate names on the GoDaddy page, but it went through and I was then able to successfully import the cert into Lync. The common name was the FQDN and one of the alternate names is the private pool name in Lync.
For what it’s worth, you need to remove the fancy quotes from your code sample above. They were kicking causing certreq to kick an error regarding non x500 compliant characters. Thank you though for the quick how to.
Jason Nelson
Allixo Technologies
Thanks for pointing that out! Now if I were a WordPress pro, I could figure out how to turn off that formatting “feature” since the code shows they are normal quotes.
I followed your instructions and GoDaddy issued the cert. Upon assigning the cert, though, Lync is now complaining that the “subject name “domain.com” does not match the computer FQDN.
That worked great!
Sidenote: I agree with the first one. If you guys copy and paste this into notepad… make sure you go through and delete all the ” and type them again. It sounds silly but It doesn’t paste in the appropriate ” type.