vishal saberwal <vishalsaberwal@gmail.com> writes:
> LOG: could not accept SSL connection: peer did not return a certificate
It looks to me like you've got the server side set up correctly, but not
the client side. The client needs to have a certificate to return when
the server demands it. See
http://www.postgresql.org/docs/8.0/static/libpq-ssl.html
regards, tom lane