# Jdbc:postgresql://localhost/test?ssl=true

**URL:** <https://www.ruby-forum.com/t/jdbc-localhost-test-ssl-true/87498>\
**Category:** Rails\
**Created:** [March 3, 2007, 2:03am UTC](https://www.ruby-forum.com/t/jdbc-localhost-test-ssl-true/87498 "2007-03-03T02:03:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/57b2e6/32.png) [@akm](https://www.ruby-forum.com/u/akm)\
**Post date:** [March 3, 2007, 2:03am UTC](https://www.ruby-forum.com/t/jdbc-localhost-test-ssl-true/87498/1 "2007-03-03T02:03:59Z")

</div>

Hi,  
I seem to be hitting a brick wall with this rails \<== ssl ==\> psotgresql  
issue! My postgres dB is already setup to accept ssl over tcp (running  
windows xp here) and is doing so nicely with my Jboss/Cocoon application  
via:

jdbc:postgresql://localhost/test?ssl=true

Now, what config file(s) do I need to amend so that rails prompts  
postgresql  
for secure connections?

–  
Regards

Andrew

---

<div class="post-metadata">

**Author:** ![akm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/57b2e6/32.png) [@akm](https://www.ruby-forum.com/u/akm)\
**Post date:** [March 8, 2007, 4:43pm UTC](https://www.ruby-forum.com/t/jdbc-localhost-test-ssl-true/87498/2 "2007-03-08T16:43:21Z")

</div>

Hi,  
any ideas in this area would be very appreciated. I’ve noticed that the  
mysql\_adapter.rb file has ssl attributes setup for the very task I wish  
to  
achieve. Do I take it that ssl connectivity is unachievable between  
rails  
and postgresql?

–  
Regards

Andrew
