Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 35930c9c authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

Doc: enable SSL verification inside Grid'5000

parent de961118
No related branches found
No related tags found
No related merge requests found
...@@ -62,8 +62,11 @@ conform with the Grid5000 API models (with an 's'!) ...@@ -62,8 +62,11 @@ conform with the Grid5000 API models (with an 's'!)
easily test and adapt them. easily test and adapt them.
- The configuration is read from a configuration file located in the home - The configuration is read from a configuration file located in the home
directory (should be compatible with the restfully one). directory (should be compatible with the restfully one). It can be created
It can be created with the following: with the following:
- When accessing the API from outside of Grid'5000 (e.g your local workstation),
you need to specify the following configuration file:
#+BEGIN_EXAMPLE #+BEGIN_EXAMPLE
echo ' echo '
...@@ -72,10 +75,15 @@ password: MYPASSWORD ...@@ -72,10 +75,15 @@ password: MYPASSWORD
' > ~/.python-grid5000.yaml ' > ~/.python-grid5000.yaml
#+END_EXAMPLE #+END_EXAMPLE
#+BEGIN_hint - When accessing the API from a Grid'5000 frontend, providing the username and
From a Grid'5000 frontend this file is optionnal. In all other cases the password is optionnal. Nevertheless you'll need to deal with SSL verification
configuration file is mandatory. by specifying the path to the certificate to use:
#+END_hint
#+BEGIN_EXAMPLE
echo '
verify_ssl: /etc/ssl/certs/ca-certificates.crt
' > ~/.python-grid5000.yaml
#+END_EXAMPLE
- Using a virtualenv is recommended (python 3.5+ is required) - Using a virtualenv is recommended (python 3.5+ is required)
......
...@@ -64,8 +64,11 @@ conform with the Grid5000 API models (with an ’s’!) ...@@ -64,8 +64,11 @@ conform with the Grid5000 API models (with an ’s’!)
easily test and adapt them. easily test and adapt them.
- The configuration is read from a configuration file located in the home - The configuration is read from a configuration file located in the home
directory (should be compatible with the restfully one). directory (should be compatible with the restfully one). It can be created
It can be created with the following: with the following:
- When accessing the API from outside of Grid’5000 (e.g your local workstation),
you need to specify the following configuration file:
:: ::
...@@ -74,10 +77,15 @@ conform with the Grid5000 API models (with an ’s’!) ...@@ -74,10 +77,15 @@ conform with the Grid5000 API models (with an ’s’!)
password: MYPASSWORD password: MYPASSWORD
' > ~/.python-grid5000.yaml ' > ~/.python-grid5000.yaml
.. hint:: - When accessing the API from a Grid’5000 frontend, providing the username and
password is optionnal. Nevertheless you’ll need to deal with SSL verification
by specifying the path to the certificate to use:
::
From a Grid’5000 frontend this file is optionnal. In all other cases the echo '
configuration file is mandatory. verify_ssl: /etc/ssl/certs/ca-certificates.crt
' > ~/.python-grid5000.yaml
- Using a virtualenv is recommended (python 3.5+ is required) - Using a virtualenv is recommended (python 3.5+ is required)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment