
Use the filled in configuration in client input to connect to the VPN.Ĭopy the vpnconfig.ovpn file to C:\Program Files\OpenVPN\config folder.

# please fill this field with a PEM formatted keyĭon't change any other fields. # P2S client root certificate private key Paste the private key replacing everything between and and. Go back to the vpnconfig.ovpn file in Notepad and find this section. To get the private key, select the text (including and between) "-BEGIN PRIVATE KEY-" and "-END PRIVATE KEY-" and copy it. Only include an $INTERMEDIATE_CERTIFICATE value if you have an intermediate certificate in your profileinfo.txt file.For each certificate in the chain, copy the text (including and between) "-BEGIN CERTIFICATE-" and "-END CERTIFICATE-".For example, if your child certificate is called P2SChildCert, your client certificate will be after the subject=CN = P2SChildCert attribute. You can identify each certificate by looking at the subject= line. Open profileinfo.txt from the previous step in Notepad.# please fill this field with a PEM formatted cert Fill in the section between and, getting the values for $CLIENT_CERTIFICATE, $INTERMEDIATE_CERTIFICATE, and $ROOT_CERTIFICATE as shown below. Switch to the vpnconfig.ovpn file you opened in Notepad. openssl pkcs12 -in "filename.pfx" -nodes -out "profileinfo.txt" Be sure to use the thumbprint of the client certificate.

The profileinfo.txt file contains the private key and the thumbprint for the CA and the Client certificate. Using OpenSSL on your computer is one way.

You'll use the certificate information in the next step.įrom the child certificate, extract the private key and the base64 thumbprint from the. If you don't have the certificate, use one of the following links for steps to export the certificate. Next, locate the child certificate you created. Go to the OpenVPN folder and open the vpnconfig.ovpn configuration file using Notepad. Locate the VPN client profile configuration package that you generated and downloaded to your computer.
#Install openvpn client mac install
OpenVPN Client version 2.6 is not yet supported.ĭownload and install the OpenVPN client (version 2.4 or higher) from the official OpenVPN website.
