OpenSSL::SSL::SSLError: hostname does not match the server certificate
All of sudden today morning my HTTP client (HTTParty) threw an error OpenSSL::SSL::SSLError: hostname does not match the server certificate Firstly I'm not able to understand which so today we have been make that api call almost all day number times from past 2 years without any issue Secondly I don't understand how do I solve it since it internal to HTTParty The only thing I know of is that I cant set SSL_CERT_FILE in ENV but as said I already have ROOT CA listed in my /etc/ssl/certs ( SSL_CERT_DIR ) Here my output irb(main):001:0> require "openssl" => true irb(main):002:0> puts OpenSSL: