Install OpenVPN in debian stretch

0

I am trying to install OpenVPN on debian 9, but I run into an error as soon as I start generating the CA. I do the following ::

# make-cadir ~/ca
# cd ~/ca
# ln -s openssl-1.0.0.cnf openssl.cnf
# vim vars  # Y modifico las variables pertinentes.
# source vars
# ./build-ca
req: Error on line 198 of config file "/root/ca/openssl.cnf"
Generating a 2048 bit RSA private key
....................................+++
...............+++
writing new private key to 'ca.key'
-----
unable to find 'distinguished_name' in config
problems making Certificate Request
139658738345216:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:../crypto/conf/conf_lib.c:272:

And I see that ca.crt is not generated. I have searched the Internet, but they give the solution of making the symbolic link that I have already made without any trace of the error that I get.

I have looked in openssl.cnf and I see that "distinguished_name" exists.

    
asked by José Miguel SA 05.06.2018 в 19:15
source

0 answers