From: yermej Date: 2007-11-30T10:35:01+09:00 Subject: Re: Problems using client certificates with net/https On Nov 29, 3:31 pm, Jim Clark wrote: > 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 > error even though the certificate works in a browser and I've verified > that the username/password used in the script to be the exact same > values that work in a browser. > > Here is the script: > <...snip...> > > Anyone have any thoughts on what else I should be doing? > > My environment: > Windows XP sp2 > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > > Thanks in advance, > Jim The SSL portion looks right. Are you certain the server is using basic authentication? The error doesn't look like any errors I've gotten when having client cert problems.