Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Local site testing with BrowserStack and self-signed certificates

Tags:

I have started looking into testing our site with BrowserStack. However, I'm having issues with live-testing (as opposed to automated testing with Selenium, which mostly works fine) a site we're developing as we're serving it with a self-signed certificate.

Manually approving the certificate doesn't bother me as much as the fact that some Ajax request are failing (at least on IE10) due to security issues and this makes it impossible to actually manually test the site.

An acceptable solution would be to somehow add our self-signed cert. into the list of trusted root CAs. However, I haven't found out how to upload files into the BrowserStack test environment (not sure if that's even possible, really).

Any ideas ?

like image 471
Shlomi Király Avatar asked Jun 14 '15 14:06

Shlomi Király


People also ask

Can I test localhost in BrowserStack?

Using Local testing, BrowserStack enables you to run automated tests on your internal development environments, on localhost, staging setups, or from behind a corporate firewall.

What are the different ways to open locally running website on BrowserStack?

You can launch the Live dashboard right from the app by clicking on the BrowserStack Local icon in your menu bar and navigating to Launch > Live . To resolve all requests to local URLs via your machine, click on the Local Testing icon and check Resolve all URLs through my network option.

How does local testing work BrowserStack?

BrowserStack Local Testing Local Testing creates a secure, persistent tunnel between your local development/staging environments and the BrowserStack Cloud. With Local Testing, all your web and mobile apps can be tested out of the box, including those hosted on localhost, behind proxies and firewalls and much more.


1 Answers

I contacted BrowserStack about this issue, and their formal response is: "We currently do not support installing client certificates on the remote machines. However, this is on our list, and we’ll keep you posted."

Hopefully this issues will be resolved soon and I'll post a different answer here.

like image 126
Shlomi Király Avatar answered Sep 21 '22 15:09

Shlomi Király