---
title: "The server certificate’s identity is incorrect. Contact your network administrator on Mac · Kilobat Guides"
url: "https://kilobat.app/guides/vpn-server-certificate-identity-incorrect"
description: "A VPN fails because the server certificate identity is incorrect. Match the server name to the certificate."
---

# “The server certificate’s identity is incorrect. Contact your network administrator” on Mac

The certificate that the server sent does not match the name in your VPN settings. The Mac ends the connection.

**Fix this with your agent**Copies a prompt for Claude Code, Codex or any agent that can use Terminal.

My Mac has this problem: “The server certificate’s identity is incorrect. Contact your network administrator” on Mac. Read https://kilobat.app/guides/vpn-server-certificate-identity-incorrect.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.

Applies to: macOS 13 Ventura and later. The text was checked in PPPController on macOS 27.2. · Checked: 29 October 2026

## Symptoms

- System Settings › VPN shows “The server certificate’s identity is incorrect. Contact your network administrator.”
- The server address is an IP address, or an old name.
- The VPN profile came from an older setup.

## Likely causes

- **A name that the certificate does not list.** The certificate is for `vpn.example.com`, but the profile uses the IP address or another name.
- **The server changed its certificate.** The administrator moved the server or renamed it.
- **A device that intercepts the connection.** A filter can present its own certificate. See [Corporate proxy certificates break Terminal tools on a Mac](https://kilobat.app/guides/corporate-proxy-certificates).

## How to check

1. Check the server address in System Settings › VPN. Look for typing errors and extra spaces.
2. Test that the server answers. Look up its name.

   ```
   dscacheutil -q host -a name vpn.example.com
   ```
3. List the VPN services and their state.

   ```
   scutil --nc list
   ```
4. Try another network, such as a phone hotspot. If it works, the first network blocks the VPN.

## How to fix it

1. Enter the exact server name from your VPN provider in System Settings › VPN.
2. Ask the administrator which name the certificate lists.
3. Remove the VPN service and add it again with the new profile.
4. Try another network. If it works, a filter on the first network intercepts the connection.

## With Kilobat

1. Test the server name and the path to it before you try the VPN again.

   ```
   kilobat why vpn.example.com
   ```
2. The 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](https://kilobat.app/guides/recipes/why-cant-it-connect).

## Questions

**Why does the IP address fail?**

A certificate lists names. It does not list the address, unless the administrator added it.

**Is this a security risk?**

The check exists to stop a fake server. Fix the name, do not turn the check off.

## Sources

- Error text in PPPController.bundle (SystemConfiguration), macOS 27.2 (Localizable.loctable)
- [Apple Support: Set up a VPN connection on Mac](https://support.apple.com/guide/mac-help/set-up-a-vpn-connection-on-mac-mchlp2963/mac)
- [Apple Support: Change options for L2TP over IPSec VPN connections on Mac](https://support.apple.com/guide/mac-help/change-options-for-l2tp-over-ipsec-vpn-connections-mh119412/mac)
- scutil(8), man page installed with macOS 27.2

Checked on 29 October 2026.

## Related guides

- [“The server certificate has expired. Contact your network administrator” on Mac](https://kilobat.app/guides/vpn-server-certificate-has-expired): The VPN server proves itself with a certificate.
- [“The VPN server could not be found” on Mac](https://kilobat.app/guides/vpn-server-could-not-be-found): The Mac could not find the server from the name or address in the VPN settings.
- [Corporate proxy certificates break Terminal tools on a Mac](https://kilobat.app/guides/corporate-proxy-certificates): Some company networks inspect HTTPS traffic.
- [VPN stopped working after a macOS update](https://kilobat.app/guides/vpn-broken-after-macos-update): A macOS update can change which VPN algorithms are allowed.
