Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLGI0-0001k2-18 for pgsql-admin@arkaria.postgresql.org; Wed, 14 Jun 2017 21:57:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dLGHz-0002q8-EE for pgsql-admin@arkaria.postgresql.org; Wed, 14 Jun 2017 21:57:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dLGGC-00084W-1E for pgsql-admin@postgresql.org; Wed, 14 Jun 2017 21:55:32 +0000 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dLGG4-0007qv-Rq for pgsql-admin@postgresql.org; Wed, 14 Jun 2017 21:55:31 +0000 Received: by mail-qt0-x22d.google.com with SMTP id u19so17676254qta.3 for ; Wed, 14 Jun 2017 14:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=sbx+PLfUPd7claIKONH5yoJ3Qr6G1XhNaLYU8X8auXI=; b=uaxt/2tr5+oghHGShTbd1zCpPDhY8GKySHwvJlexnTTTVjOox9DKNUjVW+NCo2uG+s 258CZ0lO2XvqGrIJ3HUYbh94XFUrd3ktLHdU9hNW8YNVcDHMrNBnsrIBt+kuAr77vUF7 QGo0qY9RoAIJmI3BsvLAOPCBQbgjBgt4cweWtYtfNbKapWI14ryLYqGE0RoZnGcVH2J1 41bxRj97pk62NpIwyhuKr4Ur3t7Sz25m8ZSc62CUqfwcYtKY3fjBkHj8GqMjLhUS6+ju T7xsjB6ao1Ob+kV9V7ntVdZScYC6oF9iHNKm4g53qZlMbeTo+U/5loRW4G2jXAJgsIOP oW/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=sbx+PLfUPd7claIKONH5yoJ3Qr6G1XhNaLYU8X8auXI=; b=LGXWf/v8R+rYAE+nVGL7+vYE8JF+VEjG9CIouohhkVF8E53Iwt4dNVM/J6tzUOutWO mrtL4035/QOze/ujIgVDclILkrGEb0JzxZL9qoCum7zQo2IPEErSqxo+Khfc8O/qJkoI x640rQ/LNReAZIF40vKqfXQlpU2k2Ux3I8gunZ3DsL5FxorrpkZblrG/kAziRgdpWmZE CMylEk1c06B8py61a3YEnYTFT5D74z22d1rRXnV1jZozxkR+QlweO0S6fiU/+d4tLsWw unce3epoiaYxOexSvb28I3Rz66T4PqD5ocKosk9N6ErNEGuTb3Wf8+JhBOUYrJ5ENvSf KZjQ== X-Gm-Message-State: AKS2vOyVxlfBF5nmN+hsGHt2tclykKHCM0xTD5ImPUTJvuiJ4wvUaslA 5rxOssMP1lSJfw== X-Received: by 10.237.51.197 with SMTP id v63mr2863520qtd.199.1497477323336; Wed, 14 Jun 2017 14:55:23 -0700 (PDT) Received: from [192.168.1.152] (pool-71-179-177-60.bltmmd.fios.verizon.net. [71.179.177.60]) by smtp.gmail.com with ESMTPSA id w81sm987761qkg.23.2017.06.14.14.55.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 14:55:22 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: SSL certificate revocation file will not load From: John Scalia X-Mailer: iPad Mail (14F89) In-Reply-To: <23871.1497473425@sss.pgh.pa.us> Date: Wed, 14 Jun 2017 17:55:22 -0400 Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <68DC7C40-A815-4F80-924A-45C07A463D55@gmail.com> References: <23871.1497473425@sss.pgh.pa.us> To: Tom Lane List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Well, it turned out that the CRL was in the wrong format. So, I managed to = convert it with OpenSSL and it loaded properly. I do have one more question= ... the Treasury Department, which produces these certificates for us, expi= res all the CRL's in just 6 hours, so does that mean I'd have to do restart= on the database each time I got a new one or would a reload work? Sent from my iPad > On Jun 14, 2017, at 4:50 PM, Tom Lane wrote: >=20 > John Scalia writes: >> I've got SSL working without the crl file, but when I set ssl_crl_file to >> use the one I have, it says FATAL on a restart and no SSL error reported. >> This is not very helpful. >=20 > Did you look into the postmaster log? Experimenting with an intentionally > corrupted CRL file here, I get log messages along the lines of >=20 > 2017-06-14 16:45:15.096 EDT [22759] LOG: parameter "ssl_crl_file" change= d to "root+client.crl" > 2017-06-14 16:45:15.102 EDT [22759] LOG: could not load SSL certificate = revocation list file "root+client.crl": bad base64 decode >=20 > The actually useful part of that comes out of OpenSSL, and we don't have > a lot of control about how specific it is ... but there should be > *something*. >=20 > regards, tom lane --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin