Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id A9BBC1E7F214; Mon, 2 Jul 2012 23:44:25 -0300 (ADT) Received: from 30.55.colo.spiretech.net ([69.168.55.30] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Slt6D-0007cA-Mi; Tue, 03 Jul 2012 02:44:25 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 99BDA258; Mon, 2 Jul 2012 19:44:05 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.9.148] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 2 Jul 2012 19:44:02 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 6FA776E59F; Mon, 2 Jul 2012 22:44:00 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: Pg Docs , Pg Hackers Subject: Re: File format for SSL CRL file From: Alvaro Herrera To: Greg Smith In-reply-to: <4FF23D0F.80403@2ndquadrant.com> References: <4FF23D0F.80403@2ndquadrant.com> Date: Mon, 02 Jul 2012 22:44:00 -0400 Message-Id: <1341283155-sup-42@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-83445-01253 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: greg@2ndquadrant.com X-Assp-Original-Subject: Re: [DOCS] File format for SSL CRL file Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/3 X-Sequence-Number: 7377 Excerpts from Greg Smith's message of lun jul 02 20:30:07 -0400 2012: > A documentation comment came in recently about ssl-tcp.html not=20 > specifying what format is expected for the CRL file. Seems like=20 > something that could be described better now that I look at it, so I'm=20 > passing that along with just wording edits from me; this is from user=20 > "oneironautics": >=20 > The root.crl needs to be in PEM (and not DER) format. If a certificate= =20 > file exists but is the wrong type, you will be told it cannot find the=20 > file when it exists, with this sort of error in the log: >=20 > LOG: SSL certificate revocation list file "root.crl" not found,=20 > skipping: no SSL error reported HEAD is different in this area -- it dies with a FATAL instead of just skipping it. Also, the error message seems rather poor. Maybe the code should call X509_STORE_CTX_get_error() instead of SSLerrmessage (which calls ERR_get_error; apparently not the right thing to do). --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support