Option 1: Screen output

Open the Exchange Management Shell

Execute the following command:

New-ExchangeCertificate -GenerateRequest -SubjectName "C=DE, O=Company name, cn=owa.yourdomain.de" -KeySize 2048 -PrivateKeyExportable $true

Customize the command to your needs and change the company name as well as the FQDN of your Exchange Server.
Alternatively, you can use the following command to include SANs (Subject Alternative Names) in the CSR:

New-ExchangeCertificate -GenerateRequest -SubjectName "C=DE, O=Company name, cn=owa.yourdomain.de" -DomainName owa.yourdomain.de, owa, autodiscover.yourdomain.de -PrivateKeyExportable $true

The CSR is displayed on the screen and can now be copied to the web form.

 

Option 2: File output

Open the Exchange Management Shell

Execute the following commands:

$CSR = New-ExchangeCertificate -GenerateRequest -SubjectName "C=DE, O=Company name, cn=owa.yourdomain.de" -PrivateKeyExportable $true

Set-Content -Path "C:\Exchangecertreq.txt" -Value $CSR

In the given path, in this example directly in the root directory of drive C:, there is the data named Exchangecertreq.txt. Please insert the contents of the file into the web form.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.