×

Exchange Server’da sertifika nasıl oluşturulur

Exchange Server’da sertifika nasıl oluşturulur

sertifika isteği oluşturmak için -SubjectName parametresini ayarlamalı 
ve 
-DomainName parametresini kaldırmalısınız.

$txtrequest = New-ExchangeCertificate -Server "EX01-2019" -GenerateRequest -FriendlyName "Exchange Certificate 3rd party" -PrivateKeyExportable $true -SubjectName "c=NL, s=South Holland, l=The Hague, o=EXOIP, ou=IT, cn=*.exoip.com"

Kopyala

Sertifika isteğini paylaşılan klasöre aktarmak için ikinci komutu çalıştırın.

[System.IO.File]::WriteAllBytes('\\ex01-2019\Certs\ExchangeCert.req', [System.Text.Encoding]::Unicode.GetBytes($txtrequest))

Kopyala

sertifikayı tamamlamak için 
Import-ExchangeCertificate cmdlet’ini çalıştırın .

Import-ExchangeCertificate -FileData ([System.IO.File]::ReadAllBytes('\\ex01-2019\Certs\Exoip.crt')) -PrivateKeyExportable:$true -Password (ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force)

sertifikaya atamak için 
Enable-ExchangeCertificate cmdlet’ini çalıştırın . 
Kopyaladığınız 
parmak izi değerini girin.

Enable-ExchangeCertificate -Server "EX01-2019" -Thumbprint xxxxxxxxxxxxx -Services SMTP,IMAP,IIS -Force

Kopyala

Exchange Server’da Internet Information Services’ı (IIS) yeniden başlatın .

iisreset

Kaynak: microsoft.com

Yorum gönder

You May Have Missed