M2Crypto hangs on this URL
Martin P. Hellwig
martin.hellwig at dcuktec.org
Tue Jul 28 14:21:32 EDT 2009
John Nagle wrote:
> Martin P. Hellwig wrote:
>> John Nagle wrote:
>>> John Nagle wrote:
>>>> John Nagle wrote:
>>>>> There's something strange about this URL:
>>>>>
>>>>> "https://sagar310.pontins.com/sraep/"
> ...
>> It looks to me like the SSL handshake is not done properly from the
>> server side.
>>
>> Compare the output of:
>> openssl s_client -host sagar310.pontins.com -port 443 -debug
>> -showcerts -msg
>>
>> With (for example):
>> openssl s_client -host www.google.com -port 443 -debug -showcerts -msg
>
> OpenSSL is clearly not happy with that site. But it doesn't hang.
>
> openssl s_client -host sagar310.pontins.com -port 443 -debug -showcerts
> -msg
>
> eventually prints
>
> "Verify return code: 19 (self signed certificate in certificate chain)"
> That's weird, because there's a Verisign certificate in the chain.
> That site is somehow mishandling its certs.
>
> My problem, though, is that M2Crypto 0.17 is hanging for hours to days
> on those connections.
>
> John Nagle
Well it hanged when I tried it, however the site now does return
something when using Firefox, so I assume somebody is doing some work
there or the server decided to do something else.
--
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'
More information about the Python-list
mailing list