Hi, I am a maintainer of the CATMAID open source project and we run our tests on Travis. For oue fron-end tests we use Selenium with Sauce Labs and so far we had the remote webdriver connect to localhost:4445. This doesn’t work anymore since the recent update of Sauce Connect. Instead it seems to be recommended now to let the remote webdriver connect to https://ondemand.saucelabs.com/wd/hub/. Doing so however results in SSL verification errors:
OpenSSL.SSL.Error: [(‘SSL routines’, ‘tls_process_server_certificate’, ‘certificate verify failed’)]
An example build for this can be found here: https://travis-ci.org/github/catmaid/CATMAID/jobs/695946597
I could imagine updating the local certificate store with the respective certificate, but wonder if I am missing something here.
Edit: I tried adding the certificate of ondemand.saucelabs.com:443 to our Travis test VM, but this didn’t change anything unfortunately. I did the following:
- Store a copy of
openssl s_client -showcerts -connect ondemand.saucelabs.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >saucelabs.crtin our repo.
- Add the following two lines to the
sudo cp scripts/travis/saucelabs.crt /usr/local/share/ca-certificates/saucelabs.crt