OSDN Git Service

>openssl req -new -text -out cert.req (you will have to enter a password)
authorBruce Momjian <bruce@momjian.us>
Thu, 21 Dec 2000 19:08:05 +0000 (19:08 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 21 Dec 2000 19:08:05 +0000 (19:08 +0000)
commit2905a2c54b4116ff59b45d59815b5420ba580dd3
tree0a31f95e64da078bfccdc5b776045eff486a4500
parent1db9cce39f06193abaa19ba167f507d565f713cf
  >openssl req -new -text -out cert.req (you will have to enter a password)
  >mv privkey.pem cert.pem.pw
  >openssl rsa -in cert.pem.pw -out cert.pem  (this removes the password)
  >openssl req -x509 -in cert.req -text -key cert.pem -out cert.cert

then

  cp cert.pem $PGDATA/server.key
  cp cert.cert $PGDATA/server.crt

Thank you; this works.

Oliver Elphick
doc/src/sgml/runtime.sgml