By dwbauer
Connected Tutorial(This question is a follow-up to this tutorial):
How to set up and configure an OpenVPN Server on UbuntuI followed the tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-ubuntu-20-04 My server is ubuntu-20-04 as well as my CA server. All are up to date.
Step 11 — Creating the Client Configuration Infrastructure The make_config.sh introduces tls-crypt into the client1.ovpn configuration file. RE: sudo openvpn --config ~/client-configs/files/x530.ovpn
I believe my error: Options error: --tls-auth and --tls-crypt are mutually exclusive I could change the make_config.sh script, to remove all occurances of tls-crypt, is that correct?
Thanks for any help, Don
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @dwbauer,
This is a commonly faced issue. --tls-crypt also includes authentication, and thereby makes --tls-auth redundant. Having said that, it’s up to you which one to use.
Additionally, once you decide which to use, you need to pick just one. The catch is that unlike encryption, the server and client profiles must match in their usage of tls-auth or tls-crypt.
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.