Skip to content

Commit 90a534c

Browse files
committed
Update concepts-networking-ssl-tls.md
1 parent ff3a2c5 commit 90a534c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/postgresql/flexible-server/concepts-networking-ssl-tls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ SELECT datname as "Database name", usename as "User name", ssl, client_addr, app
7474

7575
For testing, you can also use the **openssl** command directly, for example:
7676
```bash
77-
openssl s_client -connect localhost:5432 -starttls postgres
77+
openssl s_client -starttls postgres -showcerts -connect <your-postgresql-server-name>:5432
7878
```
7979
This command prints numerous low-level protocol information, including the TLS version, cipher, and so on. You must use the option -starttls postgres, or otherwise this command reports that no SSL is in use. Using this command requires at least OpenSSL 1.1.1.
8080

0 commit comments

Comments
 (0)