public withCaPath(value as Object) as SSLContext throws SSLException:
Returns a copy with a custom CA certificate directory.
| Parameter | Description |
|---|---|
value | String or Path. |
import klyn.net.ssl
context = SSLContext.clientDefault().withCaPath("/etc/ssl/certs")
print(context.caPath)