You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to set up certificate only authentication. The problem I ran into was that bcfg2 seems to check for the authentication header in the request. This header is not present when no password is set in bcfg2.conf. I could fix this by setting a bogus password for the client.
class XMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler):
...
def authenticate(self):
try:
header = self.headers['Authorization']
except KeyError:
self.logger.error("No authentication data presented")
return False
...
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I tried to set up certificate only authentication. The problem I ran into was that bcfg2 seems to check for the authentication header in the request. This header is not present when no password is set in bcfg2.conf. I could fix this by setting a bogus password for the client.
Thanks
The text was updated successfully, but these errors were encountered: