Re: Self-signed certificate instructions

Andrew Dunstan <andrew.dunstan@2ndquadrant.com>

From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-04-15T15:17:14Z
Lists: pgsql-hackers

On 04/15/2017 09:58 AM, Andrew Dunstan wrote:
> The instructions on how to create a self-signed certificate in s 18.9.3
> of the docs seem unduly cumbersome. AFAICT we could replace all the
> commands (except the chmod) with something like this:
>
>     |openssl req -new-x509 -days 365-nodes \ -text -outserver.crt\
>     -keyout server.key\ -subj "/C=XY/CN=yourdomain.name"|
>
> Is there any reason for sticking with the current instructions?
>

Argh. Darn Thunderbird. This should of course be:


    openssl req -new-x509 -days 365-nodes \
    	-text -out server.crt \
    	-keyout server.key \
    	-subj  "/C=XY/CN=yourdomain.name"


cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Commits

  1. Simplify docs on creating a self-signed SSL certificate