dotnet-client icon indicating copy to clipboard operation
dotnet-client copied to clipboard

How to make the Appium dotnet driver to trust the Appium server certificate?

Open alvaro777 opened this issue 4 years ago • 6 comments

Hi there, I am trying to use an SSL enabled Appium server, but when I try to open a session, I get this exception Is there any way to instruct the client to trust the Appium server certificate? Similar to what the "Allow Unauthorized Certificates" option does in Appium Desktop: image

I am using Appium web driver version 4.3.1. Appium server 1.19.0

Thanks, A

alvaro777 avatar Feb 23 '21 22:02 alvaro777

I think this question should be placed under appium repo. @mykola-mokhnach / @KazuCocoa do we have such argument that we can pass to appium server?

Dor-bl avatar Oct 27 '22 19:10 Dor-bl

It is dotnet client thing. I guess the endpoint has https with self-certificate, or something new certificate which is not valid for existing one. For example, Python 2's bundled certificates had the issue.

Then, a client should relax the validation like ignoring the validation. I haven't dug into the dotnet client's options to relax the validation, but it might have.

KazuCocoa avatar Oct 27 '22 20:10 KazuCocoa