From: Daniel Sheppard Date: 2007-11-30T11:45:59+09:00 Subject: Re: Problems using client certificates with net/https > I have a very basic script to access a SSL encrypted site that uses > client certificates. Problem is that I continue to get 401 > unauthorized > https.start do |https| > request = Net::HTTP::Get.new('/default.asp') > request.basic_auth 'DOMAIN\username', 'password' > response = https.request(request) > response.value > puts response.body > end > > This is the error output: > 401 "Unauthorized" Given the fact that you're username looks like a windows domain user name, I'm guessing that the server is using NTLM authentication and not basic authentication. Dan.