- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 8.6k
 
Closed
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-enhancementSomething could be betterSomething could be better
Description
Feature and motivation
It should be possible to get in Selenium Manager Configuration either:
- a way to provide custom certificates, e.g. in PKCS 12 format
 - or a way to accept insecure certificates, with the same behavior as the acceptInsecureCerts Browser Option.
 
Otherwise we cannot use Selenium Manager on our servers using self-signed certificates and get:
[INFO] org.openqa.selenium.remote.NoSuchDriverException: 
[INFO] Unable to obtain: chromedriver, error Command failed with code: 65, executed: [--browser, chrome, --language-binding, java, --output, json]
[INFO] error sending request for url (https://storage.googleapis.com/chrome-for-testing-public/133.0.6943.141/linux64/chrome-linux64.zip)
[INFO] Build info: version: '4.29.0', revision: '5fc1ec94cb'
[INFO] System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-372.32.1.el8_6.x86_64', java.version: '11.0.24'
[INFO] Driver info: driver.version: ChromeDriver
[INFO] 	at org.openqa.selenium.remote.service.DriverFinder.getBinaryPaths(DriverFinder.java:121)
[INFO] 	at org.openqa.selenium.remote.service.DriverFinder.getDriverPath(DriverFinder.java:55)
[INFO] 	at org.openqa.selenium.chrome.ChromeDriver.generateExecutor(ChromeDriver.java:99)
[INFO] 	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:88)
...
[INFO] Caused by: org.openqa.selenium.WebDriverException: Command failed with code: 65, executed: [--browser, chrome, --language-binding, java, --output, json]
Usage example
Usage could be:
| CLI argument | Configuration file | Env variable | Description | 
|---|---|---|---|
| --accept-insecure-certs | accept-insecure-certs= true | SE_ACCEPT_INSECURE_CERTS=true | Trust invalid certificates for downloads | 
| --cacerts | cacerts= CACERTS_PATH | SE_CACERTS=CACERTS_PATH | Custom certificates in PKCS 12 format | 
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-enhancementSomething could be betterSomething could be better