Certificates

A digital server certificate, in short, a certificate, is a means of authenticating a device. A certificate is required on both the security gateway 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 security gateway create a CA, which then can be used for a self-signed server certificate that you can install on the security gateway. 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 security gateway.
    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 security gateway 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 security gateway.
    • Information identifying the operator of the security gateway.
    • 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 security gateway. 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:

  • Employee name
  • Employee ID

Server certificate:

  • common name (CN)
  • Subjective Alternative Name (SAN)

Bank account

VPN user name

Bank account PIN or an identification that you provide (for example, a driver’s license)

VPN user password

The security gateway lets you do the following:

After you have imported or created a certificate authority on the security gateway, 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 security gateway. 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 security gateway.