Ssl options
SSLOptions
#
Source code in amqp_client_python/domain/models/ssl_options.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
__init__(certfile_path, keyfile_path, ca_certs_path)
#
Create an SslOptions object that holds the cert paths.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
certfile_path |
str
|
cert file path string |
required |
keyfile_path |
str
|
private key file path string |
required |
ca_certs_path |
str
|
ca file path string |
required |
Examples:
>>> SSLOptions("./.certs/cert.pem", "./.certs/privkey.pem", "./.certs/ca.pem")
Source code in amqp_client_python/domain/models/ssl_options.py
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|