Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-grid5000
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
SIMONIN Matthieu
python-grid5000
Commits
35930c9c
Verified
Commit
35930c9c
authored
5 years ago
by
SIMONIN Matthieu
Browse files
Options
Downloads
Patches
Plain Diff
Doc: enable SSL verification inside Grid'5000
parent
de961118
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.org
+14
-6
14 additions, 6 deletions
README.org
README.rst
+13
-5
13 additions, 5 deletions
README.rst
with
27 additions
and
11 deletions
README.org
+
14
−
6
View file @
35930c9c
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
README.rst
+
13
−
5
View file @
35930c9c
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment