-
Notifications
You must be signed in to change notification settings - Fork 63
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
Comments
Why: * Asked by user in home-assistant-ecosystem#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.
Why: * Asked by user in home-assistant-ecosystem#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.
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.
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.
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.
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. |
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. |
Hello, |
At the moment im traveling without a laptop so can't try anything - will be back in a week or so. Until then if you want to try and fix it look at the related commits and see where the certs are passed in and see if you can make it work. Otherwise if you can provide me with stood on how to reproduce your setup then I can try when I'm back. |
so i'm very bad when stuff look like real code, and not simple script. EDIT: it seam that it can be given to requests like this :
But the issue of what to import stay the same :( |
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. |
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.
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
The text was updated successfully, but these errors were encountered: