December 3, 2024
100723_1751_HowtoInstal10.png
We can reuse the existing SSL certificate for the new Exchange 2019 server.

We can reuse the existing SSL certificate for the new Exchange 2019 server.

1. Login to the Exchange 2016 Server.

2. Open Exchange Management Shell as an administrator.

3. Run the below cmdlet to check the Thumbprint of the certificate.

Get-ExchangeCertificate | Select CertificateDomains, Thumbprint

100723 1751 HowtoInstal1 - How to Install SSL Certificate for Exchange Server 2019

4. Run the below cmdlet to export the certificate.

$bincert = Export-ExchangeCertificate -Thumbprint <Thumbprint> -BinaryEncoded -Password (Get-Credential).password

100723 1751 HowtoInstal2 - How to Install SSL Certificate for Exchange Server 2019

5. Enter a username and password on the Windows PowerShell credential request page.

6. Click OK.

100723 1751 HowtoInstal3 - How to Install SSL Certificate for Exchange Server 2019

7.
Run the below cmdlet to save the certificate file.

[System.IO.File]::WriteAllBytes(‘<path>\<file name>.pfx’, $bincert.FileData)

100723 1751 HowtoInstal4 - How to Install SSL Certificate for Exchange Server 2019

8. Copy the certificate file from the Exchange 2016 server to the Exchange 2019 server.

100723 1751 HowtoInstal5 - How to Install SSL Certificate for Exchange Server 2019

9. Login to the Exchange 2019 server.

10. Open the Exchange Management Shell as administrator.

11. Run the below cmdlet to import a certificate.

Import-ExchangeCertificate -Server EX01-2019 -FileData ([System.IO.File]::ReadAllBytes(‘C:\Post-Install\certificate\wildcard_gooddealmart_ca.pfx’)) -Password (Get-Credential).password

100723 1751 HowtoInstal6 - How to Install SSL Certificate for Exchange Server 2019

12. Enter a username and password on the Windows PowerShell credential request page.

13. Click OK.

100723 1751 HowtoInstal7 - How to Install SSL Certificate for Exchange Server 2019

14. It would be best to save the Thumbprint for assigning exchange services to this certificate.

100723 1751 HowtoInstal8 - How to Install SSL Certificate for Exchange Server 2019

15. Run the below cmdlet to enable exchange services with this certificate.

Enable-ExchangeCertificate -Thumbprint <Thumbprint> -Services <Service name>,<Service name>… [-Server < Exchange Server Name >]

100723 1751 HowtoInstal9 - How to Install SSL Certificate for Exchange Server 2019

16. Run the below cmdlet to verify that you have successfully assigned a certificate to the Exchange services.

Get-ExchangeCertificate | Format-List FriendlyName,Subject,CertificateDomains,Thumbprint,Services

100723 1751 HowtoInstal10 - How to Install SSL Certificate for Exchange Server 2019

I hope you enjoy this post.

Cary Sun

X: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to Install SSL Certificate for Exchange Server 2019

Author: Cary Sun

Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.

Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun