Re: Self-signed certificate instructions

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Self-signed certificate instructions
Date: 2017-04-15 15:17:14
Message-ID: 672224e0-59da-efe6-5074-113c1824fdfb@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2017-04-15 15:26:48 Comment typo in xlogutils.c
Previous Message Petr Jelinek 2017-04-15 14:43:43 Re: logical replication launcher crash on buildfarm