Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 5353DEE760 for ; Mon, 2 Jul 2012 21:30:27 -0300 (ADT) Received: from moutng.kundenserver.de ([212.227.126.186]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Slr0Y-0001Hc-PQ for pgsql-docs@postgresql.org; Tue, 03 Jul 2012 00:30:27 +0000 Received: from [192.168.2.2] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LpQRR-1S9kMW1XGv-00fhjm; Tue, 03 Jul 2012 02:30:09 +0200 Message-ID: <4FF23D0F.80403@2ndquadrant.com> Date: Mon, 02 Jul 2012 20:30:07 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: File format for SSL CRL file Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:WvOeLexKLKW5p84Fnq5Hv4+/qvKUjj2CMivtTyVk+Bp aLHJ2IVGGegDVDHCz2Igw9ujC92UHt0zr1pCkfEDe3nFDGJfFa KTWKrXp5ispIFfko69IY0ABX2P6zuQOrp3axbjEHfCluzU6EAT RS6JE2lrOgVTVrgwExsX6lPTQcomeVXWFY1ttSeEuLnAG3BjSf p96vyHCTkiQLKAEAtc4gGYDa3Zvv7GFWJ1NFhErz2RzqJocOIU DIpOhwq8EQRhhQMatjd77Ss17LcxHgMMEV5w4rgMiAJHRBH2+j ph18ImEsLIHW9WQ1frV1WeAlF5mubTfXxOj3Bivl7foELi9uBP IivtPT8phtJe0ik4TsJU= X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/2 X-Sequence-Number: 7376 A documentation comment came in recently about ssl-tcp.html not specifying what format is expected for the CRL file. Seems like something that could be described better now that I look at it, so I'm passing that along with just wording edits from me; this is from user "oneironautics": The root.crl needs to be in PEM (and not DER) format. If a certificate file exists but is the wrong type, you will be told it cannot find the file when it exists, with this sort of error in the log: LOG: SSL certificate revocation list file "root.crl" not found, skipping: no SSL error reported DETAIL: Certificates will not be checked against revocation list. This error can be reported even though you have a root.crl file in $PGDATA along with the private key and server/root certificates. A quick check using openssl revealed that the unused CRL file in this example was indeed in DER format. Converting the certificate to the PEM format rectified the error: cd $PGDATA openssl crl -inform der -in root.crl -outform pem -out root-new.crl mv root-new.crl root.crl