-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Argument '-k' ignored for not checking SSL certificate #19611
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingfetchingtriageThe issue needs to be prioritizedThe issue needs to be prioritized
Description
Ran spack with -k option so as to not check SSL certificates. First line of output indicates that I asked for --insecure and will not check SSL certificates. Spack proceeds to fail install hdf5 because of a certificate verification problem.
Error Message
$ https_proxy=someproxy:someport spack -k install hdf5
==> Warning: You asked for --insecure. Will NOT check SSL certificates.
==> Warning: [email protected] cannot build optimized binaries for "skylake". Using best target possible: "x86_64"
[+] /Users/user/releases/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/libiconv-1.16-xrjlxcvkn62ahhgvknu3nreo4ehaqex2
[+] /Users/user/releases/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/pkgconf-1.7.3-zhcbxznqu7xuml4o5lb5cqumkqqnrzdl
[+] /Users/user/releases/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/xz-5.2.5-gfa5h76vfxvbstqeo2ub5aao424gfzks
[+] /Users/user/releases/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/zlib-1.2.11-x2anksgssxsxa7pcnhzg5k3dhgacglze
[+] /Users/user/releases/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/libxml2-2.9.10-dqzlvh6klvk75t2gw7qnt64s3bspzozx
==> Installing hwloc
==> No binary for hwloc found: installing from source
==> Warning: microarchitecture specific optimizations are not supported yet on mixed compiler toolchains [check [email protected] for further details]
==> Warning: Spack was unable to fetch url list due to a certificate verification problem. You can try running spack -k, which will not check SSL certificates. Use this at your own risk.
==> Warning: Spack was unable to fetch url list due to a certificate verification problem. You can try running spack -k, which will not check SSL certificates. Use this at your own risk.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfetchingtriageThe issue needs to be prioritizedThe issue needs to be prioritized