Re: Re: ssl connection support

Timothy Smith <timothy-/[email protected]> Sun, 28 Nov 2004 16:40:34 +1000
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
Jorge Godoy wrote:

>Timothy Smith <timothy-/[email protected]> writes:
>
>  
>
>>nah's it ok man i got it working, i was just having a blonde day that day.
>>the reason i asked about the ssl was i read on postgres's website that 
>>in order for ssl to work the client need the libaries as well. on your 
>>server you only allow hostssl and it works for you? have you done 
>>tcpdump to see if it is encrypted?
>>    
>>
>
>The server only allows SSL connections.  I tried non-SSL connections and
>they were refused (with pqsl, I can't specify how to connect with
>pypgsql).  I haven't done any check on the Windows machine, but I've
>seen that the traffic was encrypted from a linux box.
>
>  
>
hmm it doesn't work under windows.
any ideas? i have openssl installed. and it still doesn't work.
thats the error i get, so obviously under windows it's not turning it on.
works perfectly under frebsd 4.10, i'm using pypgsql 2.4 on both
no pg_hba.conf entry for host "192.168.1.1", user "timothy", database
"PubWare", SSL off


just an update, my windows python does include support for ssl. i have 
the _ssl.pyd file in dlls...



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/