On 2016/02/18 12:34, Феликс Фролов wrote:
> Your method also does not work, I used version easy-rsa-2.2.0p1
> All releases of OpenSSL uses the variable $ENV::
> Openbsd do not use this variable with version 5.8

It was intended that 2.2.0p1 patches things to use openssl
(/usr/local/bin/eopenssl binary) instead of libressl but this
didn't work correctly.

You can edit vars and change this line

export OPENSSL="openssl"

to

export OPENSSL="eopenssl"

But there are other problems with this version of easy-rsa, it doesn't
set CN correctly, which causes problems when generating more than one
certificate. 

For now I would recommend this:

- pkg_delete easy-rsa
- extract 
https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz
- cp vars.example vars
- edit vars and set this:

set_var EASYRSA_OPENSSL "/usr/local/bin/eopenssl"

Reply via email to