cernekee/ocserv

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

Opened this issue · 4 comments

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]

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

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.

[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 ~]# 

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.