Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
be9c6426
Unverified
Commit
be9c6426
authored
1 year ago
by
Marek Grzenkowicz
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: document how to configure OS cert store for Python (#22299)
parent
bcdf8439
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/usage/examples/self-hosting.md
+9
-1
9 additions, 1 deletion
docs/usage/examples/self-hosting.md
with
9 additions
and
1 deletion
docs/usage/examples/self-hosting.md
+
9
−
1
View file @
be9c6426
...
@@ -437,6 +437,14 @@ RUN update-ca-certificates
...
@@ -437,6 +437,14 @@ RUN update-ca-certificates
# Change back to the Ubuntu user
# Change back to the Ubuntu user
USER 1000
USER 1000
# Node comes with an own certificate authority store and thus needs to trust the self-signed certificate explicitly
# Some tools come with their own certificate authority stores and thus need to trust the self-signed certificate or the entire OS store explicitly.
# This list is _not_ comprehensive and other tools may require further configuration.
#
# Node
ENV NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/self-signed-certificate.crt
ENV NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/self-signed-certificate.crt
# Python
RUN pip config set global.cert /etc/ssl/certs/ca-certificates.crt
ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
# OpenSSL
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
```
```
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