1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: CSS vs. SSL |
From: | "Horton-Smith, Glenn" <[email protected]> |
To: | <[email protected]> |
Cc: | [email protected] |
Date: | Mon, 20 Jun 2016 10:23:04 -0500 |
Hi,I use an SSL connection to my PostgreSQL database for the RDB Channel Archiver. Adjusting the URL was all I needed.
My PostgreSQL database has a self-assigned certificate, so I have to further tell Java to use the "NonValidatingFactory" version of the postgresql ssl class. Here's what it looks like for a PostgreSQL server running on host "localhost" with database "dcs_archive":
org.csstudio.archive.rdb/url=jdbc:postgresql://localhost/dcs_archive?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory Hope that helps. =Glenn