Hi,
after upgrading from BareOS 20 to 21.0.0 on FreeBSD the bareos-webui stopped working. I get the following error every time I try to log in:
Sorry, cannot authenticate. Wrong username, password or SSL/TLS handshake failed.
The config is unchanged and it was working fine with v20. TLS is disabled for the console of course.
WebUI's directors.ini:
tls_verify_peer = false
server_can_do_tls = false
server_requires_tls = false
client_can_do_tls = false
client_requires_tls = false
Director:
Connecting to Director xxx-dir:9101
Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: xxx-dir Version: 21.0.0 (21 December 2021)
self-compiled binary
self-compiled binaries are UNSUPPORTED by
bareos.com.
Get official binaries and vendor support on
https://www.bareos.comYou are connected using the default console
Enter a period (.) to cancel a command.
*show consoles
Console {
Name = "admin"
Password = "[md5]xxxxxd1xxxde45xxxxxxfbb610c6e3a2"
Profile = "webui-admin"
TlsEnable = No
}
Director's debug log:
xxx-dir (100): lib/bsock.cc:84-0 Construct BareosSocket
xxx-dir (800): lib/thread_list.cc:243-0 Run WorkerThread successfully.
xxx-dir (100): lib/try_tls_handshake_as_a_server.cc:47-0 Error occured when trying to peek cleartext hello
xxx-dir (100): lib/bsock.cc:136-0 Destruct BareosSocket
xxx-dir (800): lib/thread_list.cc:207-0 Finished WorkerThread.
Best regards,
Felician