Printer troubleshooting technician providing live chat help

Joe B.

Reviewed for technical accuracy

Specialities: Windows 11/10, macOS (Sonoma/Ventura/Monterey), Printers, Networking, Office Equipment

Fix “TLS handshake failed / certificate not yet valid” — sync printer time via NTP (HP, Epson, Canon, Brother)

Technician avatar Technician
Hey! When a printer’s date & time is wrong, TLS/SSL sessions for secure printing can break with errors like “certificate not yet valid”, “expired certificate”, or “TLS handshake failed”. We’ll fix it by setting up NTP/SNTP time sync, verifying time zone/DST, and refreshing device certificates. What brand is it (HP, Epson, Canon, Brother) and are you on Windows 10/11, macOS, iOS, or Android?
Customer
Windows 11 PCs and iPads. HP LaserJet printer using IPP over HTTPS. Jobs fail with “TLS handshake failed” and AirPrint shows “Cannot verify server identity”. The printer’s clock looks off by a few hours.
Technician avatar Technician
That explains it. TLS relies on accurate time for certificate validation (NotBefore/NotAfter). If the printer’s time drifts or the time zone/DST is wrong, you’ll see SSL errors on IPP over TLS, AirPrint, HTTPS admin (EWS), or even SMTP over TLS / LDAPs / 802.1X. Common causes: NTP disabled, firewall blocking UDP 123, router acting as a bad time source, or the device set to a manual clock. We’ll enable NTP/SNTP, point it to a reliable server (e.g., your router, domain controller, or pool.ntp.org), and reboot to re‑establish trust.
Customer
Where do I configure NTP on an HP printer? And which time server should I use?
Technician avatar Technician
HP (Embedded Web Server): browse to the printer’s https://<IP> → System → Date/Time (or Networking → Advanced) → enable SNTP/NTP → set Primary time server to your Windows AD domain controller (best for offices), your router, or time.google.com/pool.ntp.org for home networks. Make sure the firewall allows UDP 123. Set Time zone and Automatic DST, then Apply → Restart.
Customer
After enabling NTP, do I have to reinstall drivers or re‑issue certificates for secure printing?
Technician avatar Technician
Usually no. Once time is correct, HTTPS/TLS sessions should validate again. However, if your device certificate is actually expired, renew it: use a self‑signed certificate (quick fix) or a CA‑signed certificate (best practice: internal PKI or Let’s Encrypt via reverse proxy). On macOS/iOS, if you use a self‑signed cert, add it as Always Trust in the System Keychain or deploy via MDM. For Windows, import into Trusted Root Certification Authorities via GPO/Intune.
Customer
What about other brands? We also have Epson and Brother. AirPrint still throws “Cannot verify server identity” sometimes.
Technician avatar Technician
Epson: EWS → Network → SNTP → enable and set server; confirm Security → SSL/TLS shows a valid certificate. Brother: EWS → Date & Time and Protocol → SNTP → enable; then under HTTPS check the certificate. Canon: EWS → Device Settings → Date/Time with NTP enabled; renew the UFR II/IPP TLS cert if expired. After time sync, toggle AirPrint/Bonjour (mDNS) off/on so iOS refreshes the TLS cache.
Customer
Jobs still fail in a guest VLAN. Could the firewall or DNS be blocking NTP?
Technician avatar Technician
Yes. In guest networks/AP isolation or restricted VLANs, printers may be denied access to external NTP servers. Allow UDP 123 from the printer to your chosen NTP source (router/DC) and ensure DNS resolves the hostname. If the network uses a captive portal or proxy, whitelist the printer by MAC. For enterprises using 802.1X or Kerberos, time skew beyond 5 minutes can also break auth — NTP is mandatory.
Customer
How do I confirm time is actually synced and TLS is healthy?
Technician avatar Technician
Verify NTP & TLS: in the printer’s EWS check Status → Date/Time; the clock should match your workstation within 1–2 seconds. Print a Configuration/Network page to see NTP: Enabled. From Windows, re‑add the queue as IPP over TLS (HTTPS) and print a test page. On Mac/iOS, AirPrint should no longer warn about identity. In the browser, open https://<FQDN> and confirm the certificate chain is valid and not expired; if you use CRL/OCSP, ensure the printer has Internet access to check revocation.
Customer
Any best practices so the clock doesn’t drift again?
Technician avatar Technician
Set at least two NTP servers (Primary/Secondary): your router or Windows domain controller, plus an external fallback like time.google.com. Keep Time zone and Automatic DST correct, and avoid manual time edits. On managed fleets, push SNTP settings via GPO/Intune/MDM. After firmware updates or a factory reset, re‑check NTP. For certs, enable auto‑renewal if you use a proxy/ACME, and calendar a reminder 30 days before expiry.
Customer
Great — printing over HTTPS works now on Windows and iOS. Anything else to test?
Technician avatar Technician
Run a quick print from Chrome/Edge using the System dialog to ensure the OS is using the secure IPP queue. If you scan to email, test SMTP over TLS. If you authenticate against LDAPs or 802.1X, watch for time‑skew warnings. Everything healthy? You’re set.
Customer
All good — no more TLS errors. Thanks!
Technician avatar Technician
Summary: If secure printing over TLS fails with certificate not yet valid/expired or TLS handshake failed, enable NTP/SNTP, allow UDP 123, correct time zone/DST, and renew the device certificate if needed. Works for HP/Epson/Canon/Brother on Windows/macOS/iOS. Need hands‑on help? Open the chat.

Quick answer: the accepted fix

Accepted fix when printer time is wrong and TLS fails (Windows/macOS/iOS): Enable NTP/SNTP and point to a reliable time server, allow UDP 123 through the firewall, set the correct time zone/DST, then restart the printer. If a certificate is actually expired, renew or replace it and re‑add the IPP over TLS queue.


TLS handshake failed after update — check NTP, certificates, and DNS

Firmware or router updates can reset NTP or change DNS. Re‑enable SNTP, confirm the time server (router, DC, or time.google.com), verify certificate validity dates, and ensure CRL/OCSP can be reached. For AirPrint, toggle Bonjour/mDNS so iOS refreshes the secure service record.

How to verify secure printing works

From Windows, add the printer as IPP over HTTPS and print a test page; from macOS/iOS, try AirPrint. In the browser, visit the printer’s HTTPS EWS and check the certificate chain and dates. If the site still throws trust errors, re‑issue the device certificate and confirm the clock is synced via NTP.

Secure printing — troubleshooting tips

Most TLS issues come from a bad clock or an expired certificate.

Quick path: enable NTP/SNTP → allow UDP 123 → set time zone/DST → verify certificates (NotBefore/NotAfter) → re‑add IPP over TLS. If you must use a self‑signed certificate, deploy it to devices via MDM/Intune/GPO for trust.

Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.

Expert will respond in minutes

We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.

Save time & money

No scheduling hassles or expensive consults. Membership can save you significant time and money each month.

FAQ

Why does “TLS handshake failed” happen on printers?

Most often the printer clock is wrong so certificate dates don’t validate, or the device certificate is expired. Enable NTP/SNTP, allow UDP 123, set the correct time zone/DST, and renew certificates if needed.

How do I enable NTP on HP / Epson / Canon / Brother?

Use the printer’s Embedded Web Server (HTTPS): find Date/Time or SNTP/NTP, enable it, and add a reliable time source (router, AD DC, or time.google.com/pool.ntp.org). Save and restart the printer.

AirPrint says “Cannot verify server identity”—what now?

After syncing time, toggle AirPrint/Bonjour off/on to refresh. If using a self‑signed cert, install it on iOS/macOS as Always Trust or move to a CA‑signed certificate.

Which ports/protocols must be allowed?

Allow UDP 123 for NTP, and outbound access for CRL/OCSP if your certificate validation requires it. For secure printing use HTTPS/IPP (tcp 443/631).

Do I need to reinstall the printer driver?

Not usually. Once time is correct, secure connections resume. Re‑add the queue only if you changed the FQDN/certificate or moved from HTTP to IPP over TLS.

Common TLS problems and quick fixes
SymptomLikely causeQuick fix
TLS handshake failed / SSL error Clock wrong; certificate dates invalid Enable NTP; set time zone/DST; restart
AirPrint cannot verify server identity Self‑signed cert; stale Bonjour record Trust or replace cert; toggle AirPrint/Bonjour
SMTP over TLS / LDAPs failing NTP blocked on guest VLAN Allow UDP 123 to NTP server; use router/DC
OCSP/CRL validation errors No Internet path for revocation checks Permit outbound OCSP/CRL; or disable revocation if policy allows

Step‑by‑step (Windows & macOS with HP/Epson/Canon/Brother)

  1. Open the printer’s HTTPS EWS and enable NTP/SNTP with a reliable time server.
  2. Set the correct Time zone and enable Automatic DST; apply and restart.
  3. Ensure your firewall allows UDP 123 and DNS to the NTP host.
  4. Renew the device certificate if expired; re‑add the queue as IPP over TLS if needed.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant