Rails/PostgreSQL SSL setup

Hi, does anyone know how to setup SSL between rails and postgreSQL? I have a J2EE project which is SSL’d up to my postgre dB at the moment, the required SSL certs residing in my postgre /data folder.

The interface being used is postgres-pr and I’m running on WinXP SP2 Java 1.6.