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

Add the ability to skip SSL verification #24

Merged
merged 2 commits into from
Jul 16, 2023

Conversation

grahamlyons
Copy link

This adds a key into the config that results in SSL connections not being verified.

To test this required creating an Arango instance with an invalid SSL certificate, so introduces another service into the docker-compose.yml file.

I've added the facility to run all the tests inside Docker, both locally and in CI. In the perform_test.go file it is easy to switch between a local and containerised Arango endpoint with an environment variable; in the tests using the YAML config file I've just had to change the values in there, which is of course controversial.

Let me know how you feel about these wider changes - I use the Remote Containers plugin in VSCode so this works really well for me, but I realise that it might not suit everyone.

grahamlyons added 2 commits June 19, 2023 22:06
This adds a key into the config that results in SSL connections
not being verified.
Run all tests inside container environment for consistency. Add a
script to do so and add a note inside the readme.
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

Successfully merging this pull request may close these issues.

2 participants