Can't configure easy-rsa as vars file didn't exist
Asked Answered
A

2

13

I'm trying to set up open vpn latest version on CentOS 7 following this tutorial https://www.hugeserver.com/kb/how-to-config-openvpn-linux-server/

The problem was there was no "vars" file to edit.

I checked every folder in easy-rsa including 3, 3.0, 3.0.3 and didn't find any "vars" file inside them.

Accomplishment answered 13/2, 2018 at 2:13 Comment(0)
J
12

Looks like in three this stuff changed. Tested this out and got it to work with openvpn so I believe what your looking for is...

 ./easyrsa init-pki
 ./easyrsa build-ca
 ./easyrsa gen-req server nopass
 ./easyrsa sign-req server server
  openssl dhparam -out dh2048.pem 2048

Some more reference on this.... https://community.openvpn.net/openvpn/wiki/EasyRSA3-OpenVPN-Howto

Jegger answered 16/3, 2018 at 3:41 Comment(0)
G
0

use this documentation and you can get var files https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-centos-7

Goldina answered 18/4, 2019 at 7:40 Comment(1)
Welcome to SO. Link-only answers are discouraged because it takes longer to evaluate the information and if the link is changed or dies your answer may become useless.Unkindly

© 2022 - 2024 — McMap. All rights reserved.