New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for client side certifactes #66

Open
maxandersen opened this Issue Dec 12, 2018 · 1 comment

Comments

1 participant
@maxandersen
Copy link
Contributor

maxandersen commented Dec 12, 2018

those using HA requiring client side certificates should have a way to run.

curl uses --key for the key and --cert for the certificate. i.e.

curl -v \
  --cacert ./ca.pem \
  --key ./admin-key.pem \
  --cert ./admin.pem \
  https://xxxx/api/v1/

requests supports all three as documented at http://docs.python-requests.org/en/master/user/advanced/
idea from this thread: https://www.reddit.com/r/homeassistant/comments/a56qwa/hasscli_new_command_line_tool_for_home_assistant/eblbjjy/?context=3

maxandersen added a commit to maxandersen/home-assistant-cli that referenced this issue Dec 12, 2018

Add support for client side certificate
Why:

 * Asked by user in home-assistant#66 to have fully secure connection

This change addreses the need by:

 * hass-cli will pass certificate to requests when using `--cert <pathtopem>`
   or HASS_CERT env.

maxandersen added a commit to maxandersen/home-assistant-cli that referenced this issue Dec 12, 2018

Add support for client side certificate
Why:

 * Asked by user in home-assistant#66 to have fully secure connection

This change addreses the need by:

 * hass-cli will pass certificate to requests when using `--cert <pathtopem>`
   or HASS_CERT env.

maxandersen added a commit that referenced this issue Dec 12, 2018

Add support for client side certificate
Why:

 * Asked by user in #66 to have fully secure connection

This change addreses the need by:

 * hass-cli will pass certificate to requests when using `--cert <pathtopem>`
   or HASS_CERT env.

@maxandersen maxandersen added this to To do in next release Dec 13, 2018

@maxandersen maxandersen moved this from To do to Needs review in next release Dec 13, 2018

maxandersen added a commit that referenced this issue Dec 17, 2018

Add support for client side certificate
Why:

 * Asked by user in #66 to have fully secure connection

This change addreses the need by:

 * hass-cli will pass certificate to requests when using `--cert <pathtopem>`
   or HASS_CERT env.

maxandersen added a commit that referenced this issue Dec 17, 2018

Add support for client side certificate
Why:

 * Asked by user in #66 to have fully secure connection

This change addreses the need by:

 * hass-cli will pass certificate to requests when using `--cert <pathtopem>`
   or HASS_CERT env.
@stale

This comment has been minimized.

Copy link

stale bot commented Feb 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 10, 2019

@maxandersen maxandersen removed the wontfix label Feb 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment