Daily Archives: 06.06.2018
Check ssl certificates on a host
1 |
openssl s_client -connect your-host:443 |
If it says something like gethostbyname failure then try following. It needs socat, which can be installed on macOs like this — brew install socat. Then in one terminal open
1 |
socat TCP4-LISTEN:10443,fork TCP6:your-host:443 |
and in another terminal:
1 |
openssl s_client -crlf -connect 127.0.0.1:10443 |