2.61.1 regression: GTlsServer fails with "Server required TLS certificate" for G_TLS_AUTHENTICATION_REQUESTED
In Cockpit we have a ./test-httpstream -p /http-stream/tls/basic
test case that sets up a GTlsServer
based web server (Cockpit's web server) with
g_object_set (tls_stream, "authentication-mode", G_TLS_AUTHENTICATION_REQUESTED, NULL);
and then runs a TLS request against it without client certificate. Until glib-networking 2.60.3 this worked fine, but now it fails because the GTlsServer returns an error "Server required TLS certificate".
This is a regression, it should only do this with G_TLS_AUTHENTICATION_REQUIRED
, not G_TLS_AUTHENTICATION_REQUESTED
.
This can be reproduced with trying to build cockpit rpm(as in current dist-git) in current Rawhide. But I'll try to come up with a standalone reproducer.