r/exchangeserver • u/certkit • Sep 28 '26
Exchange certificates require a Common Name, but you might not get one from Let's Encrypt
Heads up if you're planning to automate Exchange certs with Let's Encrypt's newer profiles (tlsserver, shortlived). They issue certs with an empty Subject, no CN at all. Connectors that use `TlsCertificateName` reference the cert as `<I>Issuer<S>Subject`, so the value changes even when the SANs are identical. The default classic profile still includes the CN. Wrote up the other software we've seen trip on this.
https://www.certkit.io/blog/does-a-tls-certificate-need-a-common-name
20
Upvotes
15
u/taxigrandpa Sep 28 '26
if you use certbot, you can add a common name using the -d switch
sudo certbot certonly --cert-name your-cert-name -d desired-common-name.com -d secondary-domain.com19
u/Glass_Call982 Sep 28 '26
They should just code in automatic certificate renewal for exchange and ADFS at this point. It is stupid that I had to write my own scripts to handle it. It is 2026 not 2007.
MS doesn’t care about exchange server anymore.
1
u/7amitsingh7 Sep 29 '26
If the SAN are the same but the CN is missing, do we need to update the Exchange connector after certificate renewal?