ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125) ODOO code example

Example 1: ssl certification error

SSL is a standard security protocol for establishing secure connection between
the SERVER and CLIENT. When secure connection is not established due to
certificate SSL error will occur and to handle it We need to create 
instance of DesiredCapabilities class :


for UI of CHROME, IE -> 
        DesiredCapabilities handlSSLErr = DesiredCapabilities.chrome()
        handlSSLErr.setCapability ((CapabilityType.ACCEPT_SSL_CERTS, true)
        WebDriver driver = new ChromeDriver(handlSSLErr);

Example 2: SSL certificate problem: self signed certific

git config --global http.sslVerify false

Example 3: SSL certificate problem: unable to get local issuer certificate

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);