Setup of an OpenVPN Client (Windows)

Before you begin

  • Obtain the following certificates that are required for building an SSL-VPN connection environment and setting up a client:

    • CA certificate of server certificate
    • Client certificate
    • Client private key
  • Fujitsu has confirmed operation of this setup procedure in the following environment:

    • OS: Windows 7 Professional 64bit Japanese Version
    • OpenVPN: 2.3.X (X: 10 or later), 2.4
    Note: When using OpenVPN 2.3.9 or earlier, uninstall it, and then re-install it following the procedure below.

About this task

To establish an SSL-VPN connection from a PC where Windows OS is installed, follow the setup procedure below.


  1. Acquisition of an OpenVPN client

    Download the installer for Windows from

  2. Execution of the installer

    Click the Next button.

  3. Agreement to the terms of the license

    Confirm the displayed terms of the license and click the I Agree button.

  4. Confirmation of the components to be installed

    Click the Next button with the default options selected.

  5. Checking of the installation folder

    If you want to use the default folder, click the Install button.

  6. Acceptance of the security warning

    Click the Install button.

  7. Confirmation of installation completion

    When the completion screen appears, click the Next button.

  8. Completion of the installation

    Click the Finish button to finish the installer.


This completes the installation of OpenVPN client.

What to do next

Set up the OpenVPN client.

  1. Storage of certificate files and a key file

    C:\Program Files\OpenVPN\config\

    In the folder above, store the files below, which are prepared in advance. (The file names are shown only as an example.)

    • ca.crt: CA certificate
    • client.crt: Client certificate
    • client.key: Client private key
  2. Creation of the client settings file

    Create the client settings file using a text editor.

    Include the content below in a text file. Copy the text to the text file.

    dev tun
    proto tcp
    remote 443
    resolv-retry infinite
    ca ca.crt
    cert client.crt
    key client.key
    ns-cert-type server
    cipher AES-128-CBC
    http-proxy 8080 stdin basic

    Based on the information of SSL-VPN resources, edit this text file as follows.

    Location to Edit

    (Starting String)

    Content to Edit
    proto Format

    proto [protocol ( tcp/udp )]

    * If an HTTP proxy server is involved when using an SSL-VPN connection, specify "tcp".


    proto tcp (when using tcp)

    proto udp (when using udp)

    remote Format

    remote [Connection destination server address (Global IP address of the SSL-VPN Connection resource)] [Connection destination port (443/1194)]

    *When SSL-VPN Connection resources are in a redundant configuration, enter two lines that start with "remote" and specify one connection destination in each line.


    remote 443 (when using tcp)

    remote 1194 (when using udp)

    ca Format ca [Authentication certificate file name]
    Example ca ca.crt
    cert Format cert [Client certificate file name]
    Example cert client.crt
    key Format key [Client private key file name]
    Example key client.key
    http-proxy Format

    http-proxy [IP address of the HTTP proxy server] [Port number of the HTTP proxy] stdin basic

    stdin: When connecting to an HTTP proxy server, input of the user name and password will be requested.

    basic: The authentication method will be basic authentication.

    * If an HTTP proxy server is not involved when using an SSL-VPN connection, delete this setting.

    Example http-proxy 8080 stdin basic

    When using OpenVPN 2.4 or later, add the following line.

  3. Saving of the edited file

    Save the edited file using the folder and file name shown below.

    C:\Program Files\OpenVPN\config\client.ovpn
    Tip: It is possible to change the "client" section of "client.ovpn" to another desired string. It is also possible to prepare multiple files, with one file for each connection destination.