There are some possible ways.
chrome_options.add_argument(‘ — ignore-certificate-errors’)
capabilities = { "acceptInsecureCerts": True, }