This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internet:mail:exchange:exchange_ssl [2017/12/20 07:53] gcooper |
internet:mail:exchange:exchange_ssl [2022/04/17 14:08] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Exchange Server SSL Certificates ====== | ====== Exchange Server SSL Certificates ====== | ||
+ | |||
+ | See also: **http:// | ||
See also: **[[internet: | See also: **[[internet: | ||
Line 61: | Line 63: | ||
Once the above steps are completed, go through the following virtual directories. | Once the above steps are completed, go through the following virtual directories. | ||
- | In the HTTP Redirect section, remove the following check mark Redirect requests to this destination and Apply the changes. | + | In the HTTP Redirect section, remove the following check mark '' |
* aspnet_client | * aspnet_client | ||
Line 79: | Line 81: | ||
FIXME Needs verification! Not valid for Exchange 2013. | FIXME Needs verification! Not valid for Exchange 2013. | ||
- | |||
- | See also **[[va: | ||
:!: Change the '' | :!: Change the '' | ||
Line 132: | Line 132: | ||
< | < | ||
- | Get-ExchangeCertificate | FL | + | Get-ExchangeCertificate | fl |
Test-WebServicesConnectivity | fl | Test-WebServicesConnectivity | fl | ||
Line 163: | Line 163: | ||
==== Install on Exchange 2013 ==== | ==== Install on Exchange 2013 ==== | ||
- | - In Exchange Management Shell | + | === In Exchange Management Shell === |
< | < | ||
- | - Check Cert | + | |
+ | === Check Cert === | ||
< | < | ||
Line 181: | Line 184: | ||
- '' | - '' | ||
+ | ==== Receive Connector ==== | ||
+ | https:// | ||
+ | < | ||
+ | Get-ReceiveConnector | ||
+ | Get-ReceiveConnector " | ||
+ | </ | ||
+ | |||
+ | Set the correct SSL certificate used by the Default Frontend (SMTP on port 25) connector: | ||
+ | |||
+ | < | ||
+ | Get-ExchangeCertificate | ||
+ | $cert = Get-ExchangeCertificate -Thumbprint " | ||
+ | $cert | fl Thumbprint, | ||
+ | $tls = "< | ||
+ | Set-ReceiveConnector " | ||
+ | Get-ReceiveConnector " | ||
+ | </ | ||
+ | |||
+ | Test from a Linux host: | ||
+ | |||
+ | < | ||
+ | openssl s_client -connect exchange.yourdomain.tld: | ||
+ | </ | ||
+ | |||
+ | ===== Microsoft Exchange Server Auth Certificate ===== | ||
+ | |||
+ | Read this entire page first: https:// | ||
+ | |||
+ | ==== Exchange Admin Center ==== | ||
+ | |||
+ | Renew the expired/ | ||
+ | |||
+ | **EAC -> Servers -> Certificates** | ||
+ | |||
+ | :!: You will need to **copy the thumbprint of the new MESAC** to be used in the following EMS commands. | ||
+ | |||
+ | ==== Exchange Management Shell ==== | ||
+ | |||
+ | :!: Substitute your new thumbprint. | ||
+ | |||
+ | < | ||
+ | Get-AuthConfig | ||
+ | |||
+ | $thumb = " | ||
+ | $date = get-date | ||
+ | |||
+ | Set-AuthConfig -NewCertificateThumbprint $thumb -NewCertificateEffectiveDate $date | ||
+ | |||
+ | Set-AuthConfig -PublishCertificate | ||
+ | |||
+ | Set-AuthConfig -ClearPreviousCertificate | ||
+ | |||
+ | iisreset | ||
+ | </ | ||
+ | |||
+ | :!: If it is still not working properly, you might try rebooting the server. | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | Do **not** delete the last self-signed cert. | ||
+ | |||
+ | Delete all unused **commercial** certs to avoid confusion as to which cert is being applied where. | ||
+ | |||
+ | List all certs and their details: | ||
+ | |||
+ | < | ||
+ | get-exchangecertificate | fl cert*, | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Import-ExchangeCertificate -Server $ServerName -FileName $CertificateImport | ||
+ | Enable-ExchangeCertificate -Thumbprint $certPrint.Thumbprint -Services POP, | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Enable-ExchangeCertificate -Server '< | ||
+ | </ | ||