Certificates
A digital server certificate, in short, a certificate, is a means of authenticating a device. A certificate is required on both the router and the VPN client if you select to use EAP-MSCHAPv2 authentication for a client-to-site IPSec VPN configuration (see Add a client-to-site IPSec VPN connection).
A certificate authority and certificate function together:
- Certificate Authority: A certificate authority (CA), is an organization or company that validates the identity of the person or company, or the associated website or email address, that uses the certificate.
You can also let the router create a CA, which then can be used for a self-signed server certificate that you can install on the router. Typically, you forward the CA on which the server certificate is based to the VPN client that must be able to initiate a VPN tunnel to the router.Note: Because a commercial CA takes steps to verify the identity of an applicant, a digital certificate from a commercial CA provides a strong assurance of the server’s identity. A self-signed certificate might trigger a warning from most browsers because it provides no protection against identity theft of the server.
- Server Certificate: The router uses digital certificates to authenticate connecting VPN clients. A digital certificate that authenticates a client is a file that contains the following elements:
- A public encryption key to be used by clients for encrypting messages to the router.
- Information identifying the operator of the router.
- A digital signature confirming the identity of the operator of the server. Ideally, the signature is from a trusted third party whose identity can be verified.
A certificate can also be self-signed, in which case its certificate authority was created by the router. A self-signed certificate can be useful in a test situation or for internal VPN traffic in a secure environment, but generally not for a production environment.
The following table illustrates the function of a certificate authority and server certificate by comparing them to the authentication that occurs when you visit a bank to withdraw money from an account.
| Bank Withdrawal Authentication | VPN Tunnel Authentication |
|---|---|
|
Bank (financial institution) |
Certificate authority |
|
Bank teller badge:
|
Server certificate:
|
|
Bank account |
VPN user name |
|
Bank account PIN or an identification that you provide (for example, a driver’s license) |
VPN user password |
The router lets you do the following:
- Import a certificate (see Import an existing server certificate)
- Create a certificate based on an imported or self-generated certificate authority (see Create a server certificate)
- Import a certificate authority (see Import an existing certificate authority)
- Create a certificate authority (see Create a certificate authority)
After you have imported or created a certificate authority on the router, you must export the certificate authority (see Export a certificate authority or private key) so that you can provide them to each VPN client that intents to use EAP-MSCHAPv2 authentication to establish a VPN connection to the router. Each such VPN client must import the certificate authority. During the VPN authentication process, the certificate authority can then be checked against the associated server certificate on the router.