Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGYKW-0006T4-Iu for pgsql-jdbc@arkaria.postgresql.org; Fri, 15 Mar 2013 17:22:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UGYKV-000446-Ti for pgsql-jdbc@arkaria.postgresql.org; Fri, 15 Mar 2013 17:22:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGYKV-000440-5p for pgsql-jdbc@postgresql.org; Fri, 15 Mar 2013 17:22:07 +0000 Received: from mail-oa0-f49.google.com ([209.85.219.49]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGYKR-0007AD-Ez for pgsql-jdbc@postgresql.org; Fri, 15 Mar 2013 17:22:06 +0000 Received: by mail-oa0-f49.google.com with SMTP id j6so3623181oag.22 for ; Fri, 15 Mar 2013 10:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=qmjSmLvp41XNkdN0FUvhJYIX6HKFu3rjO8zlCO+8AZU=; b=pTyioFbLXIK8bPrYLlpadm70W+kjJBNUqKMHCKE7L2xXwD+dLu8Zd3FehzYoDEZ6y9 mDnZ6pol9WmqeAkRRF0DK9cP/ZPt71sFQR1/ajwIboCwRxix+Hbe5Mws1Fe3znMMYqwB Xy8tp8yuOkJCfJnZeRSPX0q59Yu+5WAC/lrTTpfV++6MrTLsolPOo3h5hvxz1merD4pP /PYV8bTF88+ATk+nX0Fe60PhUOKNcz9+u0mGYCjmfOvUcu+NcDuVGL7bKOpSEZ0Q4qzL FWJacexEvGLPgWR9ZPqaYCNkSTKum6mU+NMFeFeRhhijEVlHabE4gp4Ji3J8Tp8o48KL GNVA== X-Received: by 10.60.24.225 with SMTP id x1mr3273421oef.30.1363368121320; Fri, 15 Mar 2013 10:22:01 -0700 (PDT) Received: from [18.58.4.81] (TRANSIT1.MIT.EDU. [18.58.4.81]) by mx.google.com with ESMTPS id ad19sm2819420oec.0.2013.03.15.10.21.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Mar 2013 10:22:00 -0700 (PDT) Message-ID: <514358B4.7030109@gmail.com> Date: Fri, 15 Mar 2013 13:21:56 -0400 From: =?ISO-8859-1?Q?=22Gabriel_E=2E_S=E1nchez_Mart=EDnez=22?= User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: List Subject: Client Certificate Authentication Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org I have a PostgreSQL database on a server. For security reasons, all client access from outside the server is restricted to certificate mode, i.e. the client sends SSL certificates rather than a password. Connecting with pgAdmin works well. Is there a way of creating a Java application that connects to this database with certificates? Any how-to guides, examples, or pointers on how to achieve this? Thanks in advance. -Gabriel -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc