Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4E67263234E for ; Mon, 19 Oct 2009 21:31:41 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 42820-09 for ; Tue, 20 Oct 2009 00:31:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pz0-f201.google.com (mail-pz0-f201.google.com [209.85.222.201]) by mail.postgresql.org (Postfix) with ESMTP id 5E13663313C for ; Mon, 19 Oct 2009 21:31:33 -0300 (ADT) Received: by pzk39 with SMTP id 39so3694274pzk.15 for ; Mon, 19 Oct 2009 17:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ZaXJ+LN27T62xN0cNE/6caGk2KWlHNC6mn36Xv0LSxs=; b=rIvp3PjUbiCOydh63porhyXJZzn/KPDz7857gnE2a6EGEJzAK5AgSldg5uUFY/vemY kJiS6bp5PcR75w29f0Py3OGHMeNqyu//mG/6em3/1LATPsJMZdBbxcYXjrUgIGWWY7HZ 2jTBaqSVghLU2ATF1bCBQpMnTz5h0Y0daVQ/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PlC9mVSQdkEqIVdPBTVXvq5uatpfwldrb/LOTA/0RJ/NjEKNKTOE/UGE/pO7XvxDRi kjqFb9hg5W4a6m6N0aiRWFQqMGXFjEwHZKrKDP9p7XISiAogZNYXyhEoShmw/16hkoY/ z+JQxppwORXwL7LLbsipy082bHVKrHvr04oKk= MIME-Version: 1.0 Received: by 10.143.27.39 with SMTP id e39mr374430wfj.212.1255998691754; Mon, 19 Oct 2009 17:31:31 -0700 (PDT) Date: Mon, 19 Oct 2009 17:31:31 -0700 Message-ID: Subject: How to ensure that SSL is enabled? From: Eric Jain To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=UTF-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.11 tagged_above=-10 required=5 tests=BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 200910/19 X-Sequence-Number: 20021 I've appended ?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory to the connection URL, but (looking at the network traffic) no encryption appears to be done. Shouldn't the connection fail if no SSL connection can be established? It's possible that the server isn't set up properly; is there a simple way to test that (e.g. verify that the server was compiled with SSL support etc)?