aliyun / aliyun-log-python-sdk

Use python to manage, produce and consume data with Aliyun Log Service.
http://aliyun-log-python-sdk.readthedocs.io/
MIT License
167 stars 117 forks source link

allow to configure cert for https client/server side verification #107

Open wjo1212 opened 5 years ago

wjo1212 commented 5 years ago

now it's default to verify the server SSL if https endpoint is configured, but need to allow to configure cert path when some machine has no globalsign cert trust installed for corner case.

wjo1212 commented 5 years ago

if the endpoint is configured with prefix https:// e.g. https://cn-beijing.log.aliyuncs.com, the connection will automatically be encrypted in https.

The certification of *.aliyuncs.com is GlobalSign, by default most Linux/Windows machines should already trust it by default. In case your mahcine don't trust it, you could download the cert and install&trust it on the machine running the program. Refer to this guide for detail.