Browse Source

Merge pull request #835 from jsonn:patch-1

Allow SERVER_TYPE=postgres
release_2_49
Tim Kimber 2 years ago
committed by GitHub
parent
commit
1c0c3634cf
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      README.md
  2. +3
    -0
      getssl

+ 1
- 0
README.md View File

@ -513,6 +513,7 @@ these are available in getssl to check if the certificate is installed correctly
| xmpp | 5222 | StartTLS |
| xmpps | 5269 | |
| ldaps | 636 | |
| postgres | 5432 | |
| port number | | |
## Revoke a certificate


+ 3
- 0
getssl View File

@ -2440,6 +2440,9 @@ set_server_type() { # uses SERVER_TYPE to set REMOTE_PORT and REMOTE_EXTRA
REMOTE_PORT=5269
elif [[ ${SERVER_TYPE} == "ldaps" ]]; then
REMOTE_PORT=636
elif [[ ${SERVER_TYPE} == "postgres" ]]; then
REMOTE_PORT=5432
REMOTE_EXTRA="-starttls postgres"
elif [[ ${SERVER_TYPE} =~ ^[0-9]+$ ]]; then
REMOTE_PORT=${SERVER_TYPE}
else


Loading…
Cancel
Save