fruho / fruhoapp

Fruho VPN Manager - Universal VPN Client |
https://fruho.com
GNU General Public License v2.0
34 stars 4 forks source link

OpenSSL output command changed #12

Closed michalbok closed 7 years ago

michalbok commented 7 years ago

Due to openssl output command change, fruho is not able to read CN from Subject:

$ openssl req -noout -subject -in /home/USER/.fruho/profile/fruho/ovpnconf/default/client.csr subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = xxxxxxxxxxxxxxxx

$ apt-cache policy openssl openssl: Installed: 1.1.0d-2 Candidate: 1.1.0d-2 Version table: *** 1.1.0d-2 500 500 http://ftp.pl.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status

vs

$ openssl req -noout -subject -in /home/USER/.fruho/profile/fruho/ovpnconf/default/client.csr subject=/C=AA/ST=Universe/L=Internet/O=Fruho/CN=xxxxxxxxxxxxxxxx

$ apt-cache policy openssl openssl: Installed: 1.0.2g-1ubuntu4.6 Candidate: 1.0.2g-1ubuntu4.6 Version table: *** 1.0.2g-1ubuntu4.6 500 500 http://pl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status 1.0.2g-1ubuntu4 500 500 http://pl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Errors in logs:

2017-02-06 11:11:59 extract-cn-from csr /home/USER/.fruho/profile/fruho/ovpnconf/default/client.csr 2017-02-06 11:11:59 Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = xxxxxxxxxxxxxxxx 2017-02-06 11:11:59 Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = xxxxxxxxxxxxxxxx -code 1 -level 0 -errorstack {INNER {returnImm {Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = xxxxxxxxxxxxxxxx} {}} CALL {extract-cn-from csr /home/USER/.fruho/profile/fruho/ovpnconf/default/client.csr} CALL memoize CALL memoize CALL {extract-cn-from csr /home/USER/.fruho/profile/fruho/ovpnconf/default/client.csr} CALL main} -errorcode NONE -errorinfo {Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = xxxxxxxxxxxxxxxx while executing "error [log Could not extract cn from subject $subject]" (procedure "extract-cn-from" line 21) invoked from within "extract-cn-from csr /home/USER/.fruho/profile/fruho/ovpnconf/default/client.csr" ("eval" body line 1) invoked from within "eval $cmd" (procedure "memoize" line 4) invoked from within "memoize" (procedure "extract-cn-from" line 2) invoked from within "extract-cn-from csr [ovpndir fruho client.csr]"} -errorline 90 2017-02-06 11:11:59 Could not retrieve client id. Try to reinstall the program. 2017-02-06 11:11:59 Could not retrieve client id. Try to reinstall the program.

Due to this error, fruho is not starting.