I am trying to use curl on a Red Hat Enterprise Linux Server release 6.1. When I try to use URL with HTTPS it gives an error message "Couldn't resolve host". But for the same URL when tried with HTTP (http://www.google.lk) response is successful.
[root@localhost /]# curl --proxy-user username:password -L -i https://www.google.lk
curl: (6) Couldn't resolve host 'www.google.lk'
[root@localhost /]#
Can there be anything wrong with my SSL configuration here. Any help is greatly appreciated…
Best Answer
The problem was OK after configuring proxy for HTTPS as follows.