Set trustAllSSLCertificates programmatically
How does one use the programmable API to set the trustAllSSLCertificates property? I'm using a self-signed certificate.
I found the following buy don't know how it works: https://github.com/vvo/selenium-standalone#error-unable-to-get-local-issuer-certificate Is this an environmental variable?
@basickarl I'm not familiar with that property, can you give an example of how you would use it outside the context of selenium-standalone? Is it something that is passed in as an argument to the selenium.jar process? If so then you can use opts.seleniumArgs https://github.com/vvo/selenium-standalone#seleniumstartopts-cb
The NODE_TLS_REJECT_UNAUTHORIZED is an environment variable, but it is more for the NodeJS process to accept invalid SSL certificates (when downloading drivers), not for the running selenium processes.
Feel free to reopen if it's still an issue. Thanks!