pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mitch Pirtle <mitchy@spacemonkeylabs.com>
To: pagomen@csd.uoc.gr
Cc: pgsql-admin@postgresql.org
Subject: Re: SSL client configuration ...
Date: Thu, 15 Apr 2004 23:23:55 -0400
Message-ID: <407F51CB.9020604@spacemonkeylabs.com> (raw)
In-Reply-To: <407EAB99.2000600@csd.uoc.gr>
References: <407EAB99.2000600@csd.uoc.gr>

Hmm...

>
> - hostssl  all  dbuser      212.205.129.107     255.255.255.0  md5 in 
> pg_hba.conf

Shouldn't that be a 255.255.255.255 netmask?

> - generated server.crt and server.key as recommended in 
> Administrator's Guide 

Not in the correct directory though.  You need to put them both in:

    /home/pagomen/PostGress/data

The netmask is being interpreted incorrectly as IPv6 (hence the non-IP 
host message):

FATAL:  no pg_hba.conf entry for host "::ffff:212.205.129.107", user 
"dbuser", database "template1", SSL off

Get your server.crt and server.key in the right directory, and fix the 
netmask in pg_hba.conf, and it just might work...

-- Mitch



view thread (4+ messages)

Message-ID: <407F51CB.9020604@spacemonkeylabs.com>
Permalink:  ../407F51CB.9020604@spacemonkeylabs.com/
Also on:    postgresql.org/message-id/407F51CB.9020604@spacemonkeylabs.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-admin@postgresql.org
  Cc: mitchy@spacemonkeylabs.com, pagomen@csd.uoc.gr
  Subject: Re: SSL client configuration ...
  In-Reply-To: <407F51CB.9020604@spacemonkeylabs.com>
  References: <407EAB99.2000600@csd.uoc.gr> <407F51CB.9020604@spacemonkeylabs.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