spack/lib/spack/docs
psakievich 7afa949da1
Add handling of custom ssl certs in urllib ops (#42953)
This PR allows the user to specify a path to a custom cert file (or directory) in
Spack's config:

```yaml
  # This is where custom certs for proxy/firewall are stored.
  # It can be a path or environment variable. To match ssl env configuration
  # the default is the environment variable SSL_CERT_FILE
  ssl_certs: $SSL_CERT_FILE
```

`config:ssl_certs` can be a path to a file or a directory, or it can be and environment
variable that resolves to one of those. When it posts to something valid, Spack will
update the ssl context to include custom certs, and fetching via `urllib` and `curl`
will trust the provided certs.

This should resolve many issues with fetching behind corporate firewalls.


---------

Co-authored-by: psakievich <psakievich@users.noreply.github.com>
Co-authored-by: Alec Scott <alec@bcs.sh>
2024-04-01 11:11:13 -07:00
..
_gh_pages_redirect Use https for links (#19244) 2020-10-09 11:24:09 -05:00
_pygments Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
_static make empty _static directory "exist" to git 2014-01-09 14:03:32 +01:00
build_systems Fix CMake generator documentation (#43232) 2024-03-18 10:02:33 +01:00
example_files Implement an optional compiler bootstrapping phase 2019-09-13 22:57:15 -07:00
images Cherry-picking virtual dependencies (#35322) 2023-11-01 23:35:23 -07:00
tables AutotoolsPackage / MakefilePackage: add gmake build dependency (#40380) 2023-10-18 19:56:54 +02:00
.gitignore docs: Replace package list with packages.spack.io (#40251) 2023-10-01 05:36:22 +02:00
basic_usage.rst Support for prereleases (#43140) 2024-03-22 23:30:32 +01:00
binary_caches.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
bootstrapping.rst Fix spack find bootstrapping docs (#43074) 2024-03-07 14:13:32 +01:00
build_settings.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
build_systems.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
chain.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
command_index.in Rework command reference in docs, add spack commands command 2018-02-12 20:25:17 -08:00
conf.py compression.py: refactor + bug fix (#42367) 2024-01-31 07:59:07 +01:00
config_yaml.rst Add handling of custom ssl certs in urllib ops (#42953) 2024-04-01 11:11:13 -07:00
configuration.rst Allow loading extensions through python entry-points (#42370) 2024-03-06 11:18:49 +01:00
containers.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
contribution_guide.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
developer_guide.rst hooks: remove 7 unused hooks (#42575) 2024-02-09 20:52:09 +01:00
environments.rst Document new environment variable expansion in projections (#42963) 2024-03-04 12:17:08 -07:00
extensions.rst Allow loading extensions through python entry-points (#42370) 2024-03-06 11:18:49 +01:00
features.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
frequently_asked_questions.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
getting_started.rst Allow compilers to be configured in packages.yaml (#42016) 2024-03-15 11:01:49 +01:00
gpu_configuration.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
index.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
Makefile API Docs: fix broken reference targets 2021-07-16 08:30:56 -07:00
mirrors.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
module_file_generation.svg SC17: reworked module file tutorial section (#5657) 2017-11-12 00:27:20 -08:00
module_file_support.rst modules: allow autoload: run, like in environment views (#42743) 2024-03-04 08:49:45 +01:00
packages_yaml.rst develop: Add -b/--build-directory option to set build_directory package attribute (#39606) 2024-02-16 06:30:58 +00:00
packaging_guide.rst Support for prereleases (#43140) 2024-03-22 23:30:32 +01:00
pipelines.rst docs: git version section title + highlight issues (#42398) 2024-02-01 09:46:17 +01:00
replace_conda_homebrew.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
repositories.rst docs: fix typo (#42688) 2024-02-15 11:21:51 +01:00
requirements.txt build(deps): bump black from 24.2.0 to 24.3.0 in /lib/spack/docs (#43228) 2024-03-15 17:24:44 -06:00
signing.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
spack.yaml Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00