pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Morgan <scott@adligo.com>
To: pgsql-jdbc@postgresql.org
Subject: Docs java 1.7 and 1.8
Date: Mon, 19 Jan 2015 04:14:03 -0600
Message-ID: <CANEdHmj9Cy+wVMExqO2VHczjFkxfA0E8S5niVPMOgit2BFsEtA@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

This page should probably be changed to stay current with jdk 1.7, 1.8.

https://jdbc.postgresql.org/documentation/head/ssl-client.html

keytool -keystore $JAVA_HOME/*jre*/lib/security/cacerts -alias postgresql
-import -file server.crt.der

instead of;

keytool -keystore $JAVA_HOME/lib/security/cacerts -alias postgresql -import
-file server.crt.der


java -Djavax.net.ssl.trustStore=*$JAVA_HOME/jre/lib/security/cacerts*
-Djavax.net.ssl.trustStorePassword=mypassword com.mycompany.MyApp

instead of;

java -Djavax.net.ssl.trustStore=mystore
-Djavax.net.ssl.trustStorePassword=mypassword com.mycompany.MyApp


Cheers,

Scott

Message-ID: <CANEdHmj9Cy+wVMExqO2VHczjFkxfA0E8S5niVPMOgit2BFsEtA@mail.gmail.com>
Permalink:  ../CANEdHmj9Cy+wVMExqO2VHczjFkxfA0E8S5niVPMOgit2BFsEtA@mail.gmail.com/
Also on:    postgresql.org/message-id/CANEdHmj9Cy+wVMExqO2VHczjFkxfA0E8S5niVPMOgit2BFsEtA@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: scott@adligo.com
  Subject: Re: Docs java 1.7 and 1.8
  In-Reply-To: <CANEdHmj9Cy+wVMExqO2VHczjFkxfA0E8S5niVPMOgit2BFsEtA@mail.gmail.com>
  References: <CANEdHmj9Cy+wVMExqO2VHczjFkxfA0E8S5niVPMOgit2BFsEtA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox