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?
- Mac fix 1: Reset the printing system
- Mac fix 2: Delete the old certificate in Keychain Access
- Fix 3: Check the printer’s date, time and certificate
- Create a new certificate from the HP app
- Mac workaround: use AirPrint instead of Secure AirPrint
- Mac fix 4: Re-add the printer over plain IPP
- Windows fix 1: Remove and re-add the printer
- Windows fix 2: Add the printer by IP address
- Update the printer firmware through its web page
- How do I stop the error from coming back?
- Which fix should I try?
Why does my HP printer say expired certificate?
| Cause | What happens | Best fix |
|---|---|---|
| Printer reset or firmware update | Printer creates a new certificate your Mac does not recognize | Mac Fix 1 or 2 |
| Old certificate cached in Keychain | Mac still points at the old one | Mac Fix 2 |
| Wrong date or time on the printer | Certificate looks invalid to the computer | Fix 3 |
| IPP over SSL (IPPS) connection | Strict certificate checking blocks printing | Mac Fix 4 |
| Printer IP address changed | Saved connection no longer matches | Static IP (last section) |
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.
- Open
System Settings → Printers & Scanners. - Control-click a printer (or the empty list) and choose Reset Printing System.
- 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.
- Open Keychain Access from Spotlight.
- Search for your printer model name, hostname or IP address.
- Delete any matching certificate entries.
- 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.
- Open the HP app and select your printer on the home screen.
- Choose Printer Settings, then Advanced Settings or Embedded Web Service (EWS).
- Log in if prompted.
- Go to
Network Summary → Security → Certificates. - 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.
- Open Terminal and run
lpstat -v; a printer URL containing_ippsconfirms IPPS is in use. - Find the printer’s IP address in its web page or network report.
- Remove the old queue and add the new one with the commands below.
- Print a test page.
sudo lpadmin -x OLD_PRINTER_NAME
sudo lpadmin -p My_HP_Printer -E -v ipp://PRINTER_IP/ipp/print -m everywhereReplace 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
- Open
Settings → Bluetooth & devices → Printers & scanners. - Select the HP printer and click Remove.
- Click Add device and let Windows find it again.
Windows fix 2: Add the printer by IP address
- In Printers & scanners, click Add device, then Add manually.
- Choose Add a printer using an IP address or hostname.
- 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.
- Restart the printer and wait until it is ready.
- Enter the printer’s IP address in a browser.
- Open
General → Firmware Upgradeand choose Browse. - Select the downloaded .bdl file and click Install.
- Click Restart Now when the page asks.
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?
| Situation | Try first |
|---|---|
| Mac, error appeared after printer reset or update | Mac fix 2, then Mac fix 1 |
| Mac, error returns after every fix | Mac fix 4 |
| Windows PC | Windows fix 1, then 2 |
| Mac says “Encryption credentials have expired” | New certificate from the HP app |
| New certificate did not help on Mac | Re-add with AirPrint, not Secure AirPrint |
| Error returns every few weeks | Static IP |
| Printer not found at all | See no printers found on iPhone |
If the printer shows other errors, read our Non-HP Circuitry fix or browse the best home printers.
Thank you!!!! After trying to follow convoluted instructions via YouTube, your straight forward written instructions worked immediately.
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!!
Thanks so much – been a while since I had to use sudo but your instructions were clear. Really appreciate your time spent here.
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.
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
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!