jplana / python-etcd

A python client for etcd
Other
523 stars 210 forks source link

Whats the correct way to add cert file from composeio? #165

Closed sirvon closed 8 years ago

sirvon commented 8 years ago

This isn't working....

client = etcd.Client(
         host=os.environ.get("ETCD_HOST"),
         port=int(os.environ.get("ETCD_PORT")),
         allow_reconnect=True,
         cert=('./etcdcert',"etcdcert"),
         protocol='https',
         username=os.environ.get("ETCD_USERNAME"),
         password=os.environ.get("ETCD_PASSWORD"))
lavagetto commented 8 years ago

I don't use composeio and I don't intend learning much about how they work either; but python-etcd has been proven to work with SSL certificates perfectly fine (we also have some integration testing for that).

Sorry but this seems more as a question for some support forum than an issue of the code/documentation.