alexandrov@ubuntu:~$ sudo openvpn --config salexandrov.ovpn
[sudo] password for alexandrov:
Wed Jun 3 17:44:14 2020 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
Wed Jun 3 17:44:14 2020 library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.08
Enter Auth Username: salexandrov
Enter Auth Password: ******
Wed Jun 3 17:44:37 2020 OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Wed Jun 3 17:44:37 2020 Cannot load private key file [[INLINE]]
Wed Jun 3 17:44:37 2020 Error: private key password verification failed
Wed Jun 3 17:44:37 2020 Exiting due to fatal error
Я долго мучался с GPG
аутентификация по google authentificator
на выходе есть такие файлы
pkey.asc
и
salexandrov.ovpn