Issue creating CSR certificate in EXCHANGE 2007
I am attempting to regenerate a new CSR because my old one expired and GoDaddy increased its encryption size to 2048. I'm using Exchange 2007 and its for my OWA I enter this: New-ExchangeCertificate -generaterequest -keysize 2048 - subjectname "c=US, l=Gilbert, s=Arizona, o=Unique Home Designs,Inc., cn=owa.uhdco.com" -domainname owa.uhdco.com, -PrivateKeyExportable $true -path c:\certrequest.txt And get this: New-ExchangeCertificate : A Parameter cannot be found that matches parameter name '-'. At line:1 char:24 + New-ExchangeCertificate <<<< -GenerateRequest -keysize 2048 - subjectname "c=US, l=Gilbert, s=Arizona, o=Unique Home Designs,Inc., cn=owa.uhdco.com" -domainname owa.uhdco.com, -PrivateKeyExportable $true -path c:\certrequest.txt Any Ideas? Thanks Guys!
September 3rd, 2010 8:29pm

A couple of things: Looks like there is a space between the hyphen and subjectname I would clean up that command as well and put a :$true after those 2 switches. You dont need that -domainname for a single name certificate. If you need to generate multiple subject names, then use the -domainname switch and list the other required names there. Example. See if this works. New-ExchangeCertificate -keysize 2048 -GenerateRequest:$true -subjectname "C = US, S = Arizona, L = Phoenix, O = Unique Ho me Designs Inc., OU = Test, CN = owa.uhdco.com" -PrivateKeyExportable:$true -path c:\certrequest.txt
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2010 9:06pm

New-ExchangeCertificate http://technet.microsoft.com/en-us/library/aa998327(EXCHG.80).aspx Xiu
September 6th, 2010 10:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics