robotframework-httplibrary icon indicating copy to clipboard operation
robotframework-httplibrary copied to clipboard

SSL error while sending request on https

Open Gaurang033 opened this issue 9 years ago • 5 comments

Hi Guys,

I was using this httplibrary as rest client to test REST API, however whenever I am trying any request GET or POST i am getting following error.

The certificate shows as not trusted when I open that in chrome, would someone please let me know how to handle this issue?

Gaurang033 avatar Jul 28 '15 07:07 Gaurang033

Can you make https connections from within plain python to that host?

peritus avatar Jul 28 '15 07:07 peritus

https://stackoverflow.com/questions/2146383/https-connection-python might help as well

peritus avatar Jul 28 '15 07:07 peritus

Hi,

I tried connecting to site using httplib in python. and it's not giving any error. I also tried with chrome addon and it's working perfectly.

Gaurang Shah Blog: AutomationTesting.co.in http://automationtesting.co.in Mobile: +91 7387756556

On Tue, Jul 28, 2015 at 12:44 PM, Filip Noetzel [email protected] wrote:

https://stackoverflow.com/questions/2146383/https-connection-python might help as well

— Reply to this email directly or view it on GitHub https://github.com/peritus/robotframework-httplibrary/issues/35#issuecomment-125479292 .

Gaurang033 avatar Jul 28 '15 10:07 Gaurang033

Hi Guys,

Sorry for the earlier reply, following is the actual issue. I have multiple machines from where I am calling REST API of our website, from few machines I am successfully able to call the REST API however from other machine I am not able to call the REST API

From the machine I am not able to call REST API, through HttpLib also it's giving the same SSL error. would someone please let me know what could be the issue that from some macnne I am able to execute the REST call however from other windows machine I am getting SSL error.

Do I need to store the certificate somewhere, if yes, would you please let me know where and how ?

Gaurang Shah Blog: AutomationTesting.co.in http://automationtesting.co.in Mobile: +91 7387756556

On Tue, Jul 28, 2015 at 3:33 PM, Gaurang shah [email protected] wrote:

Hi,

I tried connecting to site using httplib in python. and it's not giving any error. I also tried with chrome addon and it's working perfectly.

Gaurang Shah Blog: AutomationTesting.co.in http://automationtesting.co.in Mobile: +91 7387756556

On Tue, Jul 28, 2015 at 12:44 PM, Filip Noetzel [email protected] wrote:

https://stackoverflow.com/questions/2146383/https-connection-python might help as well

— Reply to this email directly or view it on GitHub https://github.com/peritus/robotframework-httplibrary/issues/35#issuecomment-125479292 .

Gaurang033 avatar Jul 29 '15 11:07 Gaurang033

just started to see the same issue , the same server is accessible on some and gives SSL errors on other machine , he http lib python fails on the failing machines similar to the robot test . is there a location where SSL certs are preserved on the machine > maybe i can delete the cert and do another call to download the new cert ?

sherif84 avatar Sep 01 '15 19:09 sherif84