I use a Certificate Authority to issue certificates for various services.
However, on one of my devices, Chromium has started reporting that the Common Name is invalid
NET:ERR_CERT_COMMON_NAME_INVALID
Viewing the certificate in dev tools (where the functionality has now been inconveniently hidden) the Common Name definitely matches the service being accessed.
This affects all services I've issued a cert for, but only in Chromium on that device.
The version is 58.0.3029.81
A version running 57.0.2987.98 is unaffected and reaches the sites fine.
Something has presumably changed in Chrome/Chromium
Activity
2017-04-30 19:43:46
The scripts I've been using (basically easy-rsa) don't set SANs
So there's out culprit. I'll have to adjust it an look at regenerating the existing certs. Coincidentally, some expire this year anyway
2017-04-30 19:46:00
2017-04-30 19:57:08
Testing whether it's actually worked
Looks good. So just need to renew certs and re-test now
2017-04-30 20:05:56
2017-04-30 20:20:42
Worse, because I forgot about that requirement, build-key-server truncated the existing cert file, so when then trying to revoke, I got
Copying the old cert back to that file resolved, so then its
Deployed the cert, and Chrome's stopped whinging
Verified the SAN is included
Will just need to work around the other services now
2017-04-30 20:21:24
2017-04-30 20:22:33
2017-04-30 20:22:33
2017-04-30 20:22:41
2017-04-30 20:22:48
2017-04-30 20:25:14
Still wish they'd thought more about the error they're returning, if only so you don't end up googling "Chrome reports invalid common name when it's not". Googling the exact error message will, of course, give you lots of hits for why a common name might be invalid, which also isn't helpful given the specific cause in this instance.
2017-04-30 20:25:29
2017-04-30 20:25:29
2017-04-30 20:25:33