Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

SSL Cert request syntax with Powershell

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Secure Messaging >> SSL Cert request syntax with Powershell Page: [1]
Login
Message << Older Topic   Newer Topic >>
Limited time MSExchange.org offer! -- 1.Sep.2008 1:00:00 PM
TechGenix and SolarWinds have partnered to provide free copies of SolarWinds Exchange Monitor to all visitors who join the MSExchange.org Forums. SolarWinds Exchange Monitor is a handy desktop dashboard that continuously monitors Microsoft Exchange to deliver real-time insight into Exchange services, mail queue sizes, and host server health. Learn more about Exchange Monitor and the free offer!
SSL Cert request syntax with Powershell - 17.Sep.2007 1:59:16 PM   
cchapman

 

Posts: 2
Joined: 17.Sep.2007
Status: offline
Been having trouble generating a SSL cert request from my EX2007 server using powershell. Keep getting error "Parameter set cannot be resolved using the specified named parameters." Here is what the syntax looks like (host and domain names have been changed for security purposes) :
 
New-ExchangeCertificate -domainname smokey,smokey.sybercrack.com,webmail,webmail.sybercrack.com,autodiscover.sybercrack.com -FriendlyName "Sybercrack Exchange Server" -GenerateRequest -Subjectname "dc=com,dc=sybercrack,o=Sybercrack International,cn=webmail.sybercrack.com" -PrivateKeyExportable $true -Services "IMAP, POP, UM, IIS, SMTP" -path c:\certrequest1.txt
 
Been monkeying with this for two days and am getting no love. Can't find anything on Technet to address this problem. Maybe you can check the syntax and see if I have something wrong here. Thanks in advance for your help.
Post #: 1
RE: SSL Cert request syntax with Powershell - 17.Sep.2007 2:12:48 PM   
cchapman

 

Posts: 2
Joined: 17.Sep.2007
Status: offline
In working on this, I was able to get a CSR created by eliminating the -services parameter. Does anyone know if the resulting certificate will be able to be utilized by all Client Access Role services (IIS, IMAP, POP, UM, SMTP)???

(in reply to cchapman)
Post #: 2
RE: SSL Cert request syntax with Powershell - 19.Sep.2007 12:28:51 AM   
CameronFrasnelly

 

Posts: 3
Joined: 19.Sep.2007
Status: offline
I'm getting ready to fight the ssl nightmare in EX2007 and was wondering if you had figured out how to generate the csr and properly apply the cert?  It looks like you are running a single server as well so I think your situation would be similar to mine!

Any help would be greatly appreciated!!!

(in reply to cchapman)
Post #: 3
RE: SSL Cert request syntax with Powershell - 22.Oct.2007 1:48:48 AM   
ankbomb

 

Posts: 40
Joined: 21.Oct.2007
Status: offline
It's a little late to help, but in case anyone else runs into this thread.
 
The -services option is set on enable-exchangecertificate (after you import the cert to match your generated public key)
 
the cert can be used by all roles.  however, depdning on your environment, you may need more or less names in the SAN.

_____________________________

Ankur Kothari
This posting is provided "AS IS" with no warranties, and confers no rights

(in reply to cchapman)
Post #: 4

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Secure Messaging >> SSL Cert request syntax with Powershell Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts