John Nagle wrote: > There's something strange about this URL: > > "https://sagar310.pontins.com/sraep/"
The following program finishes fine for me using M2Crypto 0.20beta1 + openssl 0.9.8g. Like Martin mentioned in another message, maybe someone fixed the site. from M2Crypto import SSL ctx = SSL.Context() # If you comment out the next 2 lines, the connection won't be secure #ctx.set_verify(SSL.verify_peer | SSL.verify_fail_if_no_peer_cert, depth=9) #if ctx.load_verify_locations('ca.pem') != 1: raise Exception('No CA certs') c = SSL.Connection(ctx) c.connect(('sagar310.pontins.com', 443)) c.send('GET /sraep/ \n') c.close() -- Heikki Toivonen - http://heikkitoivonen.net -- http://mail.python.org/mailman/listinfo/python-list