Load a set of "certification authority"(CA) certificates used to validate other peers' certificates when `~verify_mode` is other than ssl.CERT_NONE.
(
self, cafile: Optional[str] = None, capath: Optional[str] = None
)
| 315 | self._ctx.check_privatekey() |
| 316 | |
| 317 | def load_verify_locations( |
| 318 | self, cafile: Optional[str] = None, capath: Optional[str] = None |
| 319 | ) -> None: |
| 320 | """Load a set of "certification authority"(CA) certificates used to |
| 321 | validate other peers' certificates when `~verify_mode` is other than |
| 322 | ssl.CERT_NONE. |
| 323 | """ |
| 324 | self._ctx.load_verify_locations(cafile, capath) |
| 325 | |
| 326 | def _load_certifi(self) -> None: |
| 327 | """Attempt to load CA certs from certifi.""" |
no outgoing calls
no test coverage detected