在 macOS 中启动网络打印作业后,您是否立即收到“加密凭据已过期”弹出错误消息?根据该消息,这是因为打印机安全证书已过期。但是,还有其他原因可能导致它弹出,例如与打印机相关的网络设置损坏以及过时的支持软件和固件。
好消息是您有多种解决方案和变通方法来解决此问题并使您的打印机再次顺利工作。本故障排除指南将探讨“加密凭据已过期”错误背后的常见原因,并提供在MacBook(MacBook)、i Mac或Mac mini
上解决该问题的说明。

注意:您需要打印机的本地 IP 地址才能进行以下修复。如果您不知道,您应该能够通过打印机本身获取信息 - 查看其网络设置屏幕或打印网络配置页。了解有关在 Mac 上查找打印机 IP 地址的(finding your printer’s IP address on the Mac)更多信息。
更新打印机的加密凭据
您的打印机使用安全证书通过无线网络与Mac(Mac)安全地传输数据,当证书不再有效时,会出现“加密凭据已过期”错误。由于证书可能是自签名的(如由打印机本身颁发的),因此您可以更新它来解决问题。
您可以使用打印机的嵌入式Web 服务器(Web Server)( EWS )(可通过Safari、Chrome或 macOS 中的任何其他浏览器访问)来更新其自签名证书。
例如,要续订Epson打印机上的过期证书:
- 在新浏览器选项卡的地址栏中输入打印机的 IP 地址,然后按Enter。如果您遇到安全警告,指出连接不安全,请忽略它以继续。

- 打印机的Web 配置(Web Config)页面加载完成后,切换到网络安全设置(Network Security Settings)选项卡并转至SSL/TLS > Certificate。
- 选择“自签名证书”下的(Certificate)“更新”(Update)。

- 指定证书的有效期,例如 5 年。
- 选择“下一步”(Select Next),然后选择“确定”以完成证书更新。
注意:如果没有更新自签名加密凭据的选项,请选择“创建”(Create)按钮并按照屏幕上的说明设置新证书。
删除并重新添加打印机
如果尽管更新了打印机的网络证书,但“加密凭据已过期”错误仍然存在,则必须删除外围设备并将其重新添加到Mac。此过程会刷新打印机连接和安全凭证,有可能解决问题背后的随机冲突。
此外,如果打印机最初是使用安全 Internet 打印协议(Secure Internet Printing Protocol)( IPP(IPPs) )设置的,请使用AirPrint或LPD(行式打印机守护程序(Line Printer Daemon))以避免再次遇到相同的错误。
要在运行 macOS Ventura 及更高版本的
Mac 上删除并重新添加打印机:(re-add a printer on a Mac)
- 打开Apple菜单并选择“系统设置”(System Settings)。
- 向下滚动(Scroll)侧栏并选择打印机(Printers)和扫描仪(Scanners)。
- (Locate)在“打印机”(Printers)部分下找到并选择您的打印机名称,例如Canon(Canon—under)。

- 选择删除打印机按钮。
- (Select Remove Printer)再次
选择删除打印机以确认您的操作。

- 在打印机(Printers)和扫描仪(Scanners)屏幕中选择添加打印机(Add Printer)、扫描仪(Scanner)或传真(Fax)按钮。
- 切换到“添加打印机”(Add Printer)弹出窗口
中的IP/Network选项卡。
- 填写(Fill)打印机的 IP 地址,选择协议(Protocol)下拉列表旁边的AirPrint(如果该选项可用,请避免选择安全 AirPrint ),然后在(Secure AirPrint)名称(Name)字段中添加名称。

- 选择添加。
- 使用打印机并检查错误是否再次出现。如果存在,
请使用行式打印机守护程序 – LPD(Line Printer Daemon – LPD)删除(Remove)并重新添加打印机。
或者,您可以重置Mac(Mac)上的打印系统,以排除与其他打印机和扫描仪的冲突。为此,请转至System Settings > Printers和扫描仪(Scanners),按住 Control 键单击(Control-click)打印机(Printers)部分下方的任意位置,然后在上下文菜单中
选择重置打印系统。(Reset Printing System)
如果您的Mac运行 macOS Monterey或较旧的操作系统版本,请打开Apple菜单并转至System Preferences > Printers和扫描仪(Scanners)以删除并重新添加打印机或重置打印系统。
重置打印机网络设置
Mac上的“加密凭据已过期”打印机问题也可能是由网络配置损坏造成的。重置打印机的网络设置会将通信路径恢复为默认值,从而允许设备与 macOS 建立安全连接。
重置打印机网络设置的确切方法因制造商、品牌和型号而异。具体可以上网搜索或者查看说明书。
例如,如果您使用基于触摸屏的 HP 打印机,则可以使用以下步骤恢复网络设置:
- 找到并点击无线图标。

- 点击齿轮(Gear)图标以显示网络设置。

- 点击恢复网络设置。

如果您的 HP 打印机不具备触摸屏,则可以采用以下任一方法重置网络设置,具体取决于其型号:
- 同时按住无线(Wireless)和取消按钮,直到(Cancel)电源(Power)按钮闪烁。
- 按住无线(Wireless)按钮直至注意(Attention)指示灯闪烁。
- 按住打印机背面的无线按钮 5 秒钟,直到(Wireless)状态(Status)指示灯闪烁。
重置过程完成后,将打印机重新连接到与Mac相同的(Mac)Wi-Fi网络。然后,从 macOS 中删除并重新添加打印机。在此之前,请考虑重置 Mac 网络设置(resetting the Mac network settings)以获得最佳效果。
安装或更新打印机的支持软件(Support Software)
为防止因设备与 macOS 潜在不兼容而出现“加密凭据已过期”错误,请确保您的Mac(Mac)上安装了正确的打印机支持软件。
- 访问您的打印机制造商的网站,无论是佳能(Canon)、爱普生(Epson)、惠普(HP)还是其他制造商。
- 搜索您的特定打印机型号。

- 下载(Download)推荐的支持软件的最新版本,例如Canon Inkjet Smart Connect、Epson iPrint 或HP Smart。

在此过程中,请检查是否有更新的打印机驱动程序以增强兼容性。如果您之前安装过支持软件,请考虑更新或重新安装它以修复已知的故障或损坏问题。
更新打印机(Your)上的
固件(Firmware)
过时的打印机固件(Outdated printer firmware)是导致连接问题的另一个原因。验证您的打印机是否具有最新的固件版本并在必要时进行更新可以提高兼容性和安全性。
检查打印机的支持文档以获取更新打印机固件的说明。这可能涉及通过Mac(Mac)上的支持应用程序或直接通过打印机本身
更新打印机固件。
Mac(Mac Restored)上的打印功能已恢复(Functionality)
Mac上的“加密(Encryption)凭据已过期”打印机错误一开始可能看起来很有挑战性,但花时间完成本教程中的修复应该可以帮助您恢复正常的打印功能。
首先更新或创建新的自签名证书。如果这不起作用,请使用AirPrint或LPD协议重新添加打印机并重置打印机的网络设置。
仍有问题吗?确保您的支持软件和打印机固件是最新的。如果问题仍然存在,
与网络相关的一般打印机故障排除也会有所帮助。(General network-related printer troubleshooting)
How to Fix “Encryption Credentials Have Expired” Printer Error in macOS
Do you receive an “Encryption credentials have expired” рop-up error immediately after initiating a network print job in macOS? According to the meѕsage, it’s beсause of an expired printer security certificаte. Hоwever, thеre are other reasons that can caυse it to pop up, such аs corrupt printer-related network settіngs and outdated suppоrt software and firmware.
The good news is you have several solutions and workarounds to tackle this problem and get your printer working smoothly again. This troubleshooting guide will explore common causes behind the “Encryption credentials have expired” error and provide instructions to resolve it on your MacBook, iMac, or Mac mini.

Note: You’ll need your printer’s local IP address to work on the fixes below. If you don’t know it, you should be able to get the information through the printer itself—look around its network settings screen or print a network configuration page. Learn more about finding your printer’s IP address on the Mac.
Update the Printer’s Encryption Credentials
Your printer uses a security certificate to transmit data securely with your Mac over wireless networks, and the “Encryption credentials have expired” error appears when it’s no longer valid. Since the certificate is likely self-signed (as in, issued by the printer itself), you can update it to resolve the issue.
You can use your printer’s Embedded Web Server (EWS)—accessible through Safari, Chrome, or any other browser in macOS—to update its self-signed certificate.
As an example, to renew the expired certificate on an Epson printer:
- Type your printer’s IP address into the address bar of a new browser tab and press Enter. If you encounter a security warning stating the connection is not secure, dismiss it to proceed.

- Once the printer’s Web Config page finishes loading, switch to the Network Security Settings tab and go to SSL/TLS > Certificate.
- Select Update under Self-signed Certificate.

- Specify a validity period for the certificate—e.g., 5 years.
- Select Next, then OK to finish updating the certificate.
Note: If the option to update the self-signed encryption credentials is absent, select the Create button and follow the on-screen instructions to set up a new certificate.
Remove and Re-add the Printer
If the “Encryption credentials have expired” error persists despite updating your printer’s network certificate, you must delete and re-add the peripheral device to your Mac. This process refreshes the printer connection and security credentials, potentially resolving random conflicts behind the problem.
Additionally, if the printer was initially set up using Secure Internet Printing Protocol (IPPs), use AirPrint or LPD (Line Printer Daemon) instead to avoid running into the same error again.
To remove and re-add a printer on a Mac running macOS Ventura and later:
- Open the Apple menu and select System Settings.
- Scroll down the sidebar and select Printers & Scanners.
- Locate and select your printer’s name—e.g., Canon—under the Printers section.

- Select the Remove Printer button.
- Select Remove Printer again to confirm your action.

- Select the Add Printer, Scanner, or Fax button within the Printers & Scanners screen.
- Switch to the IP/Network tab on the Add Printer pop-up.
- Fill in your printer’s IP address, select AirPrint (avoid picking Secure AirPrint if the option’s available) next to the Protocol drop-down, and add a name to the Name field.

- Select Add.
- Use the printer and check if the error recurs. Remove and re-add the printer using Line Printer Daemon – LPD if it does.
Optionally, you can reset the printing system on your Mac to rule out conflicts with other printers and scanners. To do that, go to System Settings > Printers & Scanners, Control-click anywhere underneath the Printers section, and select Reset Printing System on the contextual menu.
If your Mac runs macOS Monterey or an older operating system version, open the Apple menu and go to System Preferences > Printers & Scanners to remove and re-add your printer or to reset the printing system.
Reset Printer Network Settings
The “Encryption credentials have expired” printer issue on the Mac can also result from a broken network configuration. Resetting the printer’s network settings restores the communication pathways to their defaults, allowing the device to establish a secure connection with macOS.
The exact method to reset a printer’s network settings varies per manufacturer, make, and model. Perform a search online or check the instructions manual for the specifics.
For example, if you use a touchscreen-based HP printer, you can restore the network settings using the steps below:
- Locate and tap the Wireless icon.

- Tap the Gear icon to reveal the network settings.

- Tap Restore Network Settings.

If your HP printer does not feature a touchscreen, resetting the network settings could be any of the following, depending on its model:
- Hold the Wireless and Cancel buttons simultaneously until the Power button flashes.
- Hold the Wireless button until the Attention light flashes.
- Hold the Wireless button on the back of the printer for 5 seconds until the Status light flashes.
After the reset procedure, reconnect the printer to the same Wi-Fi network as your Mac. Then, remove and re-add the printer from within macOS. Before doing that, consider resetting the Mac network settings for best results.
Install or Update the Printer’s Support Software
To prevent an “Encryption credentials have expired” error that stems from potential device incompatibility with macOS, ensure the correct printer support software is installed on your Mac.
- Head to your printer manufacturer’s website, be it Canon, Epson, HP, or another.
- Search for your specific printer model.

- Download the latest version of the recommended support software—e.g., Canon Inkjet Smart Connect, Epson iPrint, or HP Smart.

While you’re at it, check for any updated printer drivers to enhance compatibility. If you’ve previously installed support software, consider updating or reinstalling it to fix known glitches or corruption issues.
Update the Firmware on Your Printer
Outdated printer firmware is another reason that leads to connectivity problems. Verifying if your printer has the latest firmware version and updating it if necessary can improve compatibility and security.
Check your printer’s support documentation for instructions to update the printer firmware. This could involve updating the printer firmware through its support app on the Mac or directly via the printer itself.
Printing Functionality on Mac Restored
The “Encryption credentials expired” printer error on your Mac might seem challenging at first, but taking the time to work through the fixes in this tutorial should help you restore normal printing functionality.
Begin by updating or creating a new self-signed certificate. If that doesn’t work, re-add the printer using the AirPrint or LPD protocol and reset the printer’s network settings.
Still having trouble? Ensure your support software and printer firmware are up-to-date. General network-related printer troubleshooting can also be helpful if the issue continues.