MacBook Air: HP printer expired certificate after reset

HP Printer "Expired Certificate" - I had to do a factory reset of the printer (HP OfficeJet Pro 9019e) and now my Macbook Air doesn't recognise the security certificate of the printer (printer error message: "Expired certificate: check the printer for errors"). I have tried:

  • issuing a self-signed certifcate via the printer's IP admin page (on Google Chrome)
  • changing the number of days that certificate is valid
  • deleting the printer / driver and re-adding after the above steps
  • restarting both laptop / printer.
  • clearing the cache of my browser
  • doing another factory reset of the printer
  • connecting the printer via Airprint


Nothing seems to work!


I spoke for a long time to HP and they now say I have to contact Apple as it seems to be an issue at their end.


I am running Sequoia (15.7.4).


Any help appreciated!

MacBook Air 13″, macOS 15.7

Posted on Mar 7, 2026 2:00 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 7, 2026 8:49 AM

This issue usually happens when macOS caches the printer’s previous TLS certificate and continues to treat the printer as untrusted after a factory reset. Even if the printer generates a new certificate, the Mac may still be referencing the old one in its printing or keychain trust records. Your goal, then, is to completely remove the cached printer identity and allow macOS to establish a fresh trust relationship with the printer.


I suggest that you start by clearing the printer system configuration on the Mac.

  1. Open System Settings → Printers & Scanners, then right-click (or Control-click) in the empty area of the printer list and choose Reset printing system. The result: This removes all printers, queues, and cached printer certificates. Restart the Mac afterward. Once the Mac is back up, add the printer again using AirPrint rather than the HP driver if possible.
  2. Next, check whether the expired certificate is still stored in Keychain. Open Keychain Access, search for the printer’s hostname or IP address, and delete any certificate entries related to that printer. If you see entries labeled with the printer’s IP (for example `192.168.x.x`) or HP printer TLS certificates, remove them. After deleting them, restart the Mac again so macOS rebuilds trust records.
  3. Next, confirm the printer itself has generated a fresh certificate.


Finally, if the certificate error still appears after these steps, it’s often caused by macOS caching the printer identity via Bonjour. In that case, temporarily change the printer’s hostname in the printer’s network settings (for example from `HP9019e` to `HP9019e-new`), reboot the printer, and add it again. This forces macOS to treat it as a completely new device rather than associating it with the old certificate.

2 replies
Question marked as Top-ranking reply

Mar 7, 2026 8:49 AM in response to Freya Salt

This issue usually happens when macOS caches the printer’s previous TLS certificate and continues to treat the printer as untrusted after a factory reset. Even if the printer generates a new certificate, the Mac may still be referencing the old one in its printing or keychain trust records. Your goal, then, is to completely remove the cached printer identity and allow macOS to establish a fresh trust relationship with the printer.


I suggest that you start by clearing the printer system configuration on the Mac.

  1. Open System Settings → Printers & Scanners, then right-click (or Control-click) in the empty area of the printer list and choose Reset printing system. The result: This removes all printers, queues, and cached printer certificates. Restart the Mac afterward. Once the Mac is back up, add the printer again using AirPrint rather than the HP driver if possible.
  2. Next, check whether the expired certificate is still stored in Keychain. Open Keychain Access, search for the printer’s hostname or IP address, and delete any certificate entries related to that printer. If you see entries labeled with the printer’s IP (for example `192.168.x.x`) or HP printer TLS certificates, remove them. After deleting them, restart the Mac again so macOS rebuilds trust records.
  3. Next, confirm the printer itself has generated a fresh certificate.


Finally, if the certificate error still appears after these steps, it’s often caused by macOS caching the printer identity via Bonjour. In that case, temporarily change the printer’s hostname in the printer’s network settings (for example from `HP9019e` to `HP9019e-new`), reboot the printer, and add it again. This forces macOS to treat it as a completely new device rather than associating it with the old certificate.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacBook Air: HP printer expired certificate after reset

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.