EAP-TLS patch for pppd

Home Download Documentation: Setting up a PKI

Setting up a PKI using easy-rsa

In order to effectively use X.509 certificates we will need to set up a Public Key Infrastructure (PKI) first.
If you already have certificates available or if you want to use a different certificate creation or enrollment mechanism then you can skip this part.

In this example we use the open-source easy-rsa scripts to set up a very simple PKI. The easy-rsa scripts were originally part of the OpenVPN package but nowadays they can be downloaded as a standalone package for most Linux distro's. If you cannot find the standalone package then copy the files out of the OpenVPN package (or tarball).
Note that the easy-rsa scripts are bash scripts, so in order to use them you will need to start a bash or ksh shell first.

Where are the files?

The files are all written out to ~/pptp/keys, so the CA certificate, server and client certificate and key files can be found here:
  ~/pptp/keys/ca.crt
  ~/pptp/keys/pptp-server.crt
  ~/pptp/keys/pptp-server.key
  ~/pptp/keys/pptp-client.crt
  ~/pptp/keys/pptp-client.key
  ~/pptp/keys/pptp-winclient.p12
You are now ready to use your newly created PKI for
Setting up a Linux PPTP server with X.509 certificate support
and
Setting up a Linux PPTP client with X.509 certificate support