Problem scenario
You use the openssl command, but you receive an error. You run a command such as this:
openssl s_client -connect https://www.continualintegration.com:80
You get a message such as this:
getaddrinfo: Servname not supported for ai_socktype
connect:errno=0
What should you do to view the SSL certificates?
Solution
Run the command without the “http://”. Here is an example of the correct syntax:
openssl s_client -connect continualintegration.com:80
For Future Reference
OpenSSL uses SSL and TLS.
…
Continue reading “How Do You Troubleshoot the openssl Error “getaddrinfo: Servname not supported for ai_socktype”?”