Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2743
  • Last Modified:

How to create a (self) SAN certificate for multiple domains?


is it possible to create a SAN certificate for exchange 2007, for 2 domains? instead of purchsing a certificate. I would like to know how, and put this certificate into IIS for users to authenticate to for OWA and active sync....

i need a SAN certificate because i have an internal and external URL for OWA access, one ends in romgroup.com and the other romgroup.co.uk
  • 8
  • 2
2 Solutions
Certificate Use in Exchange Server 2007

How to Configure SSL Certificates to Use Multiple Client Access Server Host Names

If you also want to use the autodiscover service - this whitepaper is pretty interesting.
White Paper: Exchange 2007 Autodiscover Service
Mandev23Author Commented:
Hi the second website seems interesting. What command would i use if i wanted a SAN certificate for the following domains:

apple.romgroup.com (server name)
Like this:

You should replace values in -FriendlyName, -subjectName to reflect your company info.

New-ExchangeCertificate -DomainName apple.romgroup.co.uk, apple.romgroup.com , autodiscover.rom.co.uk autodiscover.rom-tech.co.uk autodiscover.rfa-tech.co.uk -FriendlyName RomGroup -GenerateRequest:$True -Keysize 1024 -path c:\romgroup.req -privatekeyExportable:$true -subjectName "c=us, o=RomGroup, CN=apple.romgroup.co.uk"

Otherwise take a look at this article:
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Mandev23Author Commented:
Hi heinoskov

And will this certificate be ok to sync with Exchange - via windows mobile 5/6?

https://apple,riomgroup.co.uk/owa is the external OWA address
https://apple.romgroup.com/owa is the internal address

the company is ROM
Mandev23Author Commented:

i ran the above command, changed CN=apple.romgroup.com which is the server name, but it cannot find parameter for o=rom ....?below is the syntax from the command shell...

[PS] C:\Documents and Settings\bossman\Desktop>New-ExchangeCertificate -DomainName apple.romgroup.com, apple.r
omgroup.co.uk, autodiscover.rom.co.uk, autodiscover.rom-tech.co.uk, autodiscover.rfa-tech.co.uk, -FriendlyName
 RomGroup -GenerateRequest:$True -Keysize 1024 -path c:\romgroup.req -privatekeyExportable:$true -subjectName
"c=uk, o=Rom, CN=apple.romgroup.com"

New-ExchangeCertificate : A parameter cannot be found that matches parameter name 'RomGroup'.
At line:1 char:24
+ New-ExchangeCertificate  <<<< -DomainName apple.romgroup.com, apple.romgroup.co.uk, autodiscover.rom.co.uk,
 autodiscover.rom-tech.co.uk, autodiscover.rfa-tech.co.uk, -FriendlyName RomGroup -GenerateRequest:$True -Key
size 1024 -path c:\romgroup.req -privatekeyExportable:$true -subjectName "c=uk, o=Rom, CN=apple.romgroup.com"
Mandev23Author Commented:
i've also tried o=romgroup ...? but still get the parameter error
Mandev23Author Commented:
Hi, is there any resolution on the last two posts? it doesnt like the parameter 'romgroup' ...?

romgroup is the name of our domain
Mandev23Author Commented:
Hi, any response on this? - i keep getting a parameter error for the company name... where does it pick up this information? maybe it is referring to something?
Mandev23Author Commented:
i have managed to create the cert using the above syntax (see attached), but it did not create a file in the C: drive ..? is this normal? - if so how do i import this cert and test it so it authenticates to romgroup.com and romgroup.co.uk..??

Mandev23Author Commented:

i used the below syntax to create a SAN cert with multiple names, the output being c:\romgroup.req which i believe is not a viewable file, what is the next step in using this cert?

i'm hoping to use it so OWA users both internally/externally can authenticate to the FQDN of the server; apple.romgroup.com and the external address of apple.romgroup.co.uk

New-ExchangeCertificate -DomainName apple.romgroup.com, apple.romgroup.co.uk, autodiscover.rom.co.uk, autodiscover.rom-tech.co.uk, autodiscover.rfa-tech.co.uk, -FriendlyName
 RomGroup -GenerateRequest:$True -Keysize 1024 -path c:\romgroup.req -privatekeyExportable:$true -subjectName "c=uk, o=Rom, CN=apple.romgroup.com"

or if someone can show me how to setup exchange 2007 to use one URL for OWA which is the server name; for both internal and external access, please? -  this would be better...

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 8
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now