Skip to content
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

Self-signed certificate rejected #1

Open
sempervictus opened this issue Jul 4, 2020 · 2 comments
Open

Self-signed certificate rejected #1

sempervictus opened this issue Jul 4, 2020 · 2 comments

Comments

@sempervictus
Copy link

Eve-ng's virtual appliance comes with a self-signed cert. After a bit of digging, it looks like the resty TLS context needs to be modified, and since every API call is a separate function in the CLI leaf commands, its a bit awkward to do from this source tree. Is there any way to pass an env var/yaml config option to permit self-signed certs?

@unkn0wn-user
Copy link
Contributor

unkn0wn-user commented Jul 6, 2020

Yes, I think it should be possible to have an env var/yaml parameter that could change the resty behaviour, to allow self signed certs.

I will have a look into implementing such a feature.

In the meantime, could you maybe elaborate a little bit more on your specific problem, give an example of your certificate ?

@sempervictus
Copy link
Author

The specific problem i'm seeing is that invocation of any command returns ERR Error during login when passing --config ~/.eve_ng.yaml which specifies url: as the HTTPS endpoint of a private eve-in-a-box KVM instance. The certificate on that endpoint is a self-signed one generated by the EVE appliance, so it doesn't get verified by resty. Credentials in the YAML are the same ones used to log into the web UI.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants