...
This is covered well in the digitalocean guide, but I thought I would note down the commands used here as it's something I use/do often.
Generate a client key
First, generate the client key by cd'ing into your openvpn-ca (cert authority folder) and sourcing the variables required:
...
Info |
---|
replace <client-key-name> with the name of the client key you want |
Generate a client .ovpn file
If you followed the digitalocean guide you'll now be able to generate an ovpn
client config that contains the key and everything needed for a client to securely connect to your openvpn server by
...