System architect at AraxaTech
It can be done using openssl: openssl s_client -connect SERVER:PORT -showcerts
openssl s_client -connect SERVER:PORT -showcerts