Skip to Main Content
Microsoft Exchange 2010 PowerShell Cookbook
book

Microsoft Exchange 2010 PowerShell Cookbook

by Mike Pfeiffer
July 2011
Intermediate to advanced content levelIntermediate to advanced
480 pages
11h 54m
English
Packt Publishing
Content preview from Microsoft Exchange 2010 PowerShell Cookbook

Generating a certificate request

In order to create a new certificate, you need to generate a certificate request using the either the Exchange Management Console, or through the shell using the New-ExchangeCertificate cmdlet. Once you have a certificate request generated, you can obtain a certificate from an internal Certificate Authority or a third party external Certificate Authority. In this recipe, we'll take a look at the process of generating a certificate request from the Exchange Management Shell.

How to do it...

  1. In this example, we'll generate a request using two Subject Alternative Names (SANs). This will allow us to support multiple URLs with one certificate:
    $cert = New-ExchangeCertificate -GenerateRequest ` -SubjectName "c=US, o=Contoso, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Jonas Andersson, Mike Pfeiffer

Publisher Resources

ISBN: 9781849682466Other