Make example python CLI script work with HTTPS
The provided example Python script to request the REST API with a CLI does not check the SSL certificate when using HTTPS:
https://github.com/edf-hpc/slurm-web/blob/master/doc/usage.rst#rest-api-cli-usage
This is not safe, then it must be fixed.
This issue concerns Slurm-web v2 which is not maintained anymore. You are highly encouraged to test the new version v3.0.0 that is not impacted by this issue. The quick start guide for v3.0.0 is available online: https://docs.rackslab.io/slurm-web/install/quickstart.html
Unless someone is motivated to maintain the old version of Slurm-web or you have a justified reason to keep this issue open, it will be closed in a few weeks.
For the reasons explained in the previous comment, I finally close this issue.