HP Printer Expired Certificate Error: Fix It on Mac & Windows

Your Mac or PC refuses to print and says “Expired Certificate” or “Check the printer for errors.”

The printer’s certificate is usually not expired at all; your computer simply no longer trusts it.

The fixes below take 2 to 15 minutes, starting with the easiest.

Table of Contents

Why does my HP printer say expired certificate?

CauseWhat happensBest fix
Printer reset or firmware updatePrinter creates a new certificate your Mac does not recognizeMac Fix 1 or 2
Old certificate cached in KeychainMac still points at the old oneMac Fix 2
Wrong date or time on the printerCertificate looks invalid to the computerFix 3
IPP over SSL (IPPS) connectionStrict certificate checking blocks printingMac Fix 4
Printer IP address changedSaved connection no longer matchesStatic IP (last section)
Reset printing systemDelete Keychain entryNew certificatePlain IPPStatic IP

Mac users usually see this error; the Windows fixes are further down.

Mac fix 1: Reset the printing system

Apple treats this as a last resort because it removes every printer, print history and saved presets.

  1. Open System Settings → Printers & Scanners.
  2. Control-click a printer (or the empty list) and choose Reset Printing System.
  3. Re-add your HP printer, ideally using the AirPrint option.

Apple documents the steps in its Mac User Guide.

Mac fix 2: Delete the old certificate in Keychain Access

HP community users report that a stale Keychain entry causes the error even when the printer’s certificate is valid for years.

  1. Open Keychain Access from Spotlight.
  2. Search for your printer model name, hostname or IP address.
  3. Delete any matching certificate entries.
  4. Restart the Mac and print again.

See this HP Support Community thread for a real example.

Fix 3: Check the printer’s date, time and certificate

Open the printer’s IP address in a browser to reach its built-in web page (HP Embedded Web Server).

On a Mac you can also click Printers & Scanners → your printer → Options & Supplies → Show Printer Web Page.

  • Confirm the printer’s date, time and time zone are correct.
  • Look in the security or certificate section for an option to create a new self-signed certificate.
  • Restart the printer, then remove and re-add it on your computer.

Menu names vary by printer model, so look for “Certificate” under the security or network settings.

Create a new certificate from the HP app

HP Support guidance for the macOS “Encryption credentials have expired” message is to replace the printer’s certificate.

  1. Open the HP app and select your printer on the home screen.
  2. Choose Printer Settings, then Advanced Settings or Embedded Web Service (EWS).
  3. Log in if prompted.
  4. Go to Network Summary → Security → Certificates.
  5. Choose Configure, then Create a New Self-Signed Certificate, and click Next and Finish.

HP says the printer then generates a new certificate valid for 10 years.

The same steps also let you check whether the current certificate has a future expiry date, which one HP Community user recommends confirming before blaming the Mac.

Restart the Mac and the printer afterward, then print a test page before trying anything else.

Mac workaround: use AirPrint instead of Secure AirPrint

If the new certificate does not help, remove the printer and add it again on the Mac using the AirPrint driver.

HP warns that choosing Secure AirPrint brings the error back.

Plain AirPrint sends print data unencrypted, and you must repeat this on every affected Mac.

Mac fix 4: Re-add the printer over plain IPP

This skips SSL by connecting to the printer without encryption on your home network.

Trade-off: print jobs are no longer encrypted between your Mac and the printer.
  1. Open Terminal and run lpstat -v; a printer URL containing _ipps confirms IPPS is in use.
  2. Find the printer’s IP address in its web page or network report.
  3. Remove the old queue and add the new one with the commands below.
  4. Print a test page.
sudo lpadmin -x OLD_PRINTER_NAME
sudo lpadmin -p My_HP_Printer -E -v ipp://PRINTER_IP/ipp/print -m everywhere

Replace OLD_PRINTER_NAME with the name shown by lpstat -v and PRINTER_IP with your printer’s address.

Windows fix 1: Remove and re-add the printer

  1. Open Settings → Bluetooth & devices → Printers & scanners.
  2. Select the HP printer and click Remove.
  3. Click Add device and let Windows find it again.

Windows fix 2: Add the printer by IP address

  1. In Printers & scanners, click Add device, then Add manually.
  2. Choose Add a printer using an IP address or hostname.
  3. Enter the printer’s IP address and finish the wizard.

If Windows asks for a driver, pick your HP model or install the HP Smart app.

Update the printer firmware through its web page

On printers that offer a firmware file, HP documents an update through the Embedded Web Server.

  1. Restart the printer and wait until it is ready.
  2. Enter the printer’s IP address in a browser.
  3. Open General → Firmware Upgrade and choose Browse.
  4. Select the downloaded .bdl file and click Install.
  5. Click Restart Now when the page asks.
Warning: keep the browser window open until the confirmation page appears; HP says the update can take 10 to 30 minutes or longer.

If the update fails with a corrupt file error, HP says to retry from a USB flash drive.

If the page shows an administrator password warning, HP says to open the Security tab, choose General Security, and reset the local administrator password first.

Print a Configuration page afterward to confirm the new firmware version.

How do I stop the error from coming back?

A changing IP address breaks saved connections, so give the printer a fixed address.

  • Open your router’s admin page.
  • Find DHCP reservation or address reservation.
  • Reserve an IP for the printer, matched by its MAC address.

Avoid factory-resetting the printer unless needed, because each reset creates a new certificate.

Which fix should I try?

SituationTry first
Mac, error appeared after printer reset or updateMac fix 2, then Mac fix 1
Mac, error returns after every fixMac fix 4
Windows PCWindows fix 1, then 2
Mac says “Encryption credentials have expired”New certificate from the HP app
New certificate did not help on MacRe-add with AirPrint, not Secure AirPrint
Error returns every few weeksStatic IP
Printer not found at allSee no printers found on iPhone

If the printer shows other errors, read our Non-HP Circuitry fix or browse the best home printers.

6 Comments

  1. Thank you!!!! After trying to follow convoluted instructions via YouTube, your straight forward written instructions worked immediately.

  2. Thank you John Maindonald! I followed your instructions as closely as possible (different Mac version) and at least was able to renew the certificate for another year– and now I can print again!! Thank you!!

  3. Thanks so much – been a while since I had to use sudo but your instructions were clear. Really appreciate your time spent here.

  4. Geez. I don’t speak Geek, so half of that makes no sense at all. Not one of those remedies had enough instructions to find what he was referring to.

  5. After trying a lot, this was the solution that worked: log in into the printer’s website and uncheck Interned Printing Protocol over HTTPS (IPPS) in the Internet Printing Protocol section – Status

  6. Method 2 was the only method that I could get to work (on my Mac Tahoe 26.5). The printer’s web interface can be opened by opening
    
System Settings → Printers & Scanners → click your printer → Options & Supplies.
    Then click on Show Printer Web Page, and (ignoring warnings on the way) generatie a new certificate, This was not, however, enough on its own. I had to go back to find the page that showed the certificate at a later time, click on the link labeled ‘Trust’, and click on ‘Always trust this certificate.’  HP do not make it easy!

Leave a Reply

Your email address will not be published. Required fields are marked *