Skip to content

cmake being downloaded via http instead of https in package build script #14994

Closed

Description

@gtritchie

This was reported by @Fredo-XVII as a comment in #14196, but moving it to its own issue.

Original text follows:

Hello!

I was about to create an issue, but I think maybe it can be added to this ticket. In trying to install RStudio Server from source, I had the install break on the installation of cmake. I believe the issue is that related to the website link starting with http instead of https. At least behind a corporate firewall, this breaks. My solution was to install cmake before we installing RStudio Server.

file: package/linux/install-dependencies:23

issue: wget http://www.cmake.org/files/v3.25/$CMAKE_TARBALL 
possible solution: wget https://www.cmake.org/files/v3.25/$CMAKE_TARBALL 

Solution in Docker file, before beginning server installation:
RUN apt-get install -y cmake

This was the error that I got:

--2024-07-19 05:06:03--  https://www.cmake.org/files/v3.25/cmake-3.25.2.tar.gz
Resolving www.cmake.org (www.cmake.org)... 66.194.253.25
Connecting to www.cmake.org (www.cmake.org)|66.194.253.25|:443... connected.
ERROR: cannot verify www.cmake.org's certificate, issued by 'CN=Zscaler Intermediate Root CA (zscalerthree.net) (t)\\ ,OU=Zscaler Inc.,O=Zscaler Inc.,ST=California,C=US':
  Unable to locally verify the issuer's authority.
To connect to www.cmake.org insecurely, use `--no-check-certificate'.

And

--2024-07-18 19:59:11--  http://www.cmake.org/files/v3.25/cmake-3.25.2.tar.gz
Resolving www.cmake.org (www.cmake.org)... 66.194.253.25
Connecting to www.cmake.org (www.cmake.org)|66.194.253.25|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.cmake.org/files/v3.25/cmake-3.25.2.tar.gz [following]
--2024-07-18 19:59:11--  https://www.cmake.org/files/v3.25/cmake-3.25.2.tar.gz
Connecting to www.cmake.org (www.cmake.org)|66.194.253.25|:443... connected.
ERROR: cannot verify www.cmake.org's certificate, issued by 'CN=Zscaler Intermediate Root CA (zscalerthree.net) (t)\\ ,OU=Zscaler Inc.,O=Zscaler Inc.,ST=California,C=US':
  Unable to locally verify the issuer's authority.
To connect to www.cmake.org insecurely, use `--no-check-certificate'.

Activity

  1. added
    tech debt
    new
    and removed
    new
    on Jul 22, 2024
  2. self-assigned this
    on Jul 22, 2024
  3. added this to the Kousa Dogwood milestone on Jul 22, 2024
  4. gtritchie commented on Jul 22, 2024

    @gtritchie
    MemberAuthor

    Builds have passed, closing issue.

  5. Fredo-XVII commented on Jul 24, 2024

    @Fredo-XVII

    Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugtech debt

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions