I also try to use OpenSSL to get the Certificate from client but is is nothing to show:
macos@ESB-Dev-MacBook ~ % openssl s_client -starttls postgres -showcerts -connect 10.1.141.91:1515 </dev/null -debug
CONNECTED(00000003)
write to 0x600003015480 [0x1049b1fb8] (8 bytes => 8 (0x8))
0000 - 00 00 00 08 04 d2 16 2f- ......./
read from 0x600003015480 [0x159810800] (8192 bytes => 15 (0xF))
0000 - 4d 44 43 53 54 41 52 54-3c 3c 54 4c 53 3e 3e MDCSTART<<TLS>>
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 15 bytes and written 8 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
read from 0x600003015480 [0x159810800] (8192 bytes => -1 (0xFFFFFFFFFFFFFFFF))
Topic:
Programming Languages
SubTopic:
Swift
Tags: