Cannot install package because of bad certificate

When trying to install certain packages (for example: MixedModels or TuringGLM) I get an error about download/install artifact tzdata2022f. The “problematic” package seems to be TimeZones.jl. The same problem occurs if I install directly from github.

(@v1.8) pkg> add TuringGLM
   Resolving package versions...
┌ Warning: could not download https://pkg.julialang.org/registries
│   exception = Cert verify failed: BADCERT_NOT_TRUSTED while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/Pkg/src/Registry/Registry.jl:68
   Installed LazyArrays ─────────── v0.22.18
   Installed TuringGLM ──────────── v2.5.0
   Installed MatrixFactorizations ─ v0.9.6
  Downloaded artifact: tzdata2022f
  Downloaded artifact: tzdata2022f
ERROR: Unable to automatically download/install artifact 'tzdata2022f' from sources listed in '/home/ammanny/.julia/packages/TimeZones/V28u7/Artifacts.toml'.
Sources attempted:
- https://pkg.julialang.org/artifact/f493dea1da29efcdeaeffd223aaa572f140d1c44
    Error: Cert verify failed: BADCERT_NOT_TRUSTED while requesting https://pkg.julialang.org/artifact/f493dea1da29efcdeaeffd223aaa572f140d1c44
- https://data.iana.org/time-zones/releases/tzdata2022f.tar.gz
    Error: Cert verify failed: BADCERT_NOT_TRUSTED while requesting https://data.iana.org/time-zones/releases/tzdata2022f.tar.gz

Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] ensure_artifact_installed(name::String, meta::Dict{String, Any}, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool, io::Base.TTY)
    @ Pkg.Artifacts /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/Artifacts.jl:468
  [3] download_artifacts(env::Pkg.Types.EnvCache; platform::Base.BinaryPlatforms.Platform, julia_version::VersionNumber, verbose::Bool, io::Base.TTY)
    @ Pkg.Operations /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:665
  [4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
    @ Pkg.Operations /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:1282
  [5] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
    @ Pkg.API /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:275
  [6] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:156
  [7] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/API.jl:145
  [8] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
    @ Pkg.REPLMode /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:409
  [9] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
    @ Pkg.REPLMode /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:387
 [10] do_cmd
    @ /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:377 [inlined]
 [11] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
    @ Pkg.REPLMode /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:551
 [12] #invokelatest#2
    @ ./essentials.jl:729 [inlined]
 [13] invokelatest
    @ ./essentials.jl:726 [inlined]
 [14] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
    @ REPL.LineEdit /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/REPL/src/LineEdit.jl:2510
 [15] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
    @ REPL /usr/bin/julia-1.8.5/share/julia/stdlib/v1.8/REPL/src/REPL.jl:1248
 [16] (::REPL.var"#49#54"{REPL.LineEditREPL, REPL.REPLBackendRef})()
    @ REPL ./task.jl:484

About my setup: I am using WSL on a corporate Windows machine.

I have read some other comments about this topic. My ca certificates seem to be updated.

user@---:~$ sudo update-ca-certificates
[sudo] password for user:
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

Can I somehow just ignore this package? Any ideas how to fix this issue?

On my Windows Julia the installation works without any errors.

The problem seems to be with the setup of my corporate certificates. Over a different internet connection the packages installed with no problem.