“The server certificate has expired. Contact your network administrator” on Mac
The VPN server proves itself with a certificate. The Mac says that the certificate has expired, so it ends the connection.
My Mac has this problem: “The server certificate has expired. Contact your network administrator” on Mac. Read https://kilobat.app/guides/vpn-server-certificate-has-expired.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.
Symptoms
- System Settings › VPN shows “The server certificate has expired. Contact your network administrator.”
- Other VPN users on the same server see the same message.
- The Mac date can be wrong.
Likely causes
- The server certificate really expired. The administrator did not renew it.
- The Mac clock is wrong. A wrong date makes a valid certificate look expired. See NET::ERR_CERT_DATE_INVALID in Chrome on Mac.
- A different certificate on the path. A network device can replace the certificate.
How to check
Check the server address in System Settings › VPN. Look for typing errors and extra spaces.
Test that the server answers. Look up its name.
dscacheutil -q host -a name vpn.example.comList the VPN services and their state.
scutil --nc listTry another network, such as a phone hotspot. If it works, the first network blocks the VPN.
How to fix it
Check the date, time and time zone in System Settings › General › Date & Time. Turn on automatic setting.
If the date is right, ask the administrator to renew the certificate.
Do not turn off certificate checks in the VPN profile.
Try again after the administrator confirms the fix.
With Kilobat
Test the server name and the path to it before you try the VPN again.
kilobat why vpn.example.comThe CLI is free. In the app, the advice from these checks is part of Kilobat Pro. See Find why one site or API won't connect.
Questions
Can I bypass this?
You can, but you should not. The check protects the VPN from a fake server.
How do I know if my clock is wrong?
Compare the Mac date with another device. Automatic date and time fixes most cases.
Sources
- Error text in PPPController.bundle (SystemConfiguration), macOS 27.2 (Localizable.loctable)
- Apple Support: Set up a VPN connection on Mac
- Apple Support: Change options for L2TP over IPSec VPN connections on Mac
- scutil(8), man page installed with macOS 27.2
Checked on 29 October 2026.