cernekee / ocserv

(forked from: http://git.infradead.org/ocserv.git)
Other
2 stars 0 forks source link

GnuTLS error (at tlslib.c:1036): Base64 unexpected header error #1

Open Dev-l0p opened 7 years ago

Dev-l0p commented 7 years ago

Hello ,

Give me This Error When I will run ocserv :

Starting ocserv: note: setting 'pam' as primary authentication method note: setting 'file' as supplemental config option GnuTLS error (at tlslib.c:1036): Base64 unexpected header error. [FAILED]

GrekingKuk commented 5 years ago

note: setting 'plain' as primary authentication method GnuTLS error (at tlslib.c:1132): Base64 unexpected header error. ??????

shyboylpf commented 5 years ago

It's a unicode error , so you can copy the private.pem and cert.pem to the directory , but not the text. Don't copy the text , copy files.

fengzhao commented 3 years ago

[root@network-vpn ~]# ocserv -c /etc/ocserv/ocserv.conf 
Parsing plain auth method subconfig using legacy format
note: vhost:default: setting 'plain' as primary authentication method
GnuTLS error (at tlslib.c:1070): The request is invalid.
[root@network-vpn ~]# 
beremour commented 3 months ago

Same issue.

GnuTLS error (at tlslib.c:1150): Base64 unexpected header error

App is:

OpenConnect VPN Server 1.3.0
Compiled with: seccomp, oath, radius, gssapi, PAM, PKCS#11, AnyConnect
GnuTLS version: 3.8.3

I have letsencrypt ECDSA key/cert. PEM-files are original from certbot.