Files
TinyORM/.github/resources/openssl/usr_cert.cnf
T
silverqx bc17c343d1 workflows PostgreSQL certificate authentication
Forced certificate authentication for PostgreSQL.

 - added $env:PGDATA/conf.d/90-crystal.conf with custom configurations
   - enabled SSL
   - listen on the localhost only
 - generating SSL certificates with our CA with 1 month expire duration
   and SAN
 - changed default root password
 - also the GitHub runner is forced to use certificate authentication
 - small script enhancements like naming, logs grouping, PostgreSQL
   service checking, ...
2023-01-23 17:07:52 +01:00

19 lines
522 B
INI

[default]
# These extensions are added when 'ca' signs a request.
subjectAltName=$ENV::OPENSSL_SAN
# This goes against PKIX guidelines but some CAs do it and some software
# requires this to avoid interpreting an end user certificate as a CA.
basicConstraints=CA:FALSE
# This is typical in keyUsage for a client certificate.
# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
# PKIX recommendations harmless if included in all certificates.
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid,issuer