r/macosprogramming • • 6h ago

shipping outside the app store? your Developer ID cert may be from the CA that expires 1 Feb 2027, and codesign won't show it

apple's original Developer ID intermediate expires 1 Feb 2027 (notAfter=Feb 1 22:12:15 2027 GMT in the .cer). certs it issued stop working, pkgs signed with them stop installing. notarized apps with a secure timestamp keep working. replacement is G2, but G2 certs expire every year.

the annoying part: old and G2 intermediates have the same CN. only the OU differs (OU=Apple Certification Authority vs OU=G2). codesign -dvvv only shows the CN, so the Authority lines look identical.

check the cert you sign with:

security find-certificate -a -c "Developer ID Application" -p | openssl x509 -noout -issuer -enddate

on CI from the .p12 secret:

openssl pkcs12 -in cert.p12 -nokeys -passin pass:"$P12_PASSWORD" | openssl x509 -noout -issuer -enddate

two things from testing on my lab files: a .p12 exported with -legacy needs -legacy here too on openssl 3.6 or it says "Could not find certificate". and if you point security at a keychain file, use the full path, relative found nothing.

shortcut: apple says no cert can outlive its intermediate, so if yours expires after 1 Feb 2027 it's G2.

full write-up with the app check, timestamp check and apple sources: https://deepboda.in/writing/developer-id-1-feb-2027

4 Upvotes

3 comments sorted by

1

u/MarzipanEven7336 5h ago

If only there was some kind of a service that would email you when this is about to happen. /s

1

u/Obsessed_Pikachu 3h ago

ha fair. apple did post a notice: https://developer.apple.com/news?id=w4atic4c

what it can't tell you is where the old cert still lives. 13 of 13 developer id apps installed on my mac are on the old CA. and the copy people forget is the .p12 sitting in a CI secret since whenever it was set up

apple's own help page says the expiry date alone doesn't prove which CA issued it, check the OU on the issuer. that's the part i wanted a one liner for

1

u/timee_bot 6h ago

View in your timezone:
Feb 1 22:12:15 2027 GMT