Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL error while sending request on https #35

Open
Gaurang033 opened this issue Jul 28, 2015 · 5 comments
Open

SSL error while sending request on https #35

Gaurang033 opened this issue Jul 28, 2015 · 5 comments

Comments

@Gaurang033
Copy link

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?

@peritus
Copy link
Owner

peritus commented Jul 28, 2015

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

@peritus
Copy link
Owner

peritus commented Jul 28, 2015

@Gaurang033
Copy link
Author

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
#35 (comment)
.

@Gaurang033
Copy link
Author

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
#35 (comment)
.

@sherif84
Copy link

sherif84 commented Sep 1, 2015

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants