While trying to install vtk-osmesa, we are getting the following error:
Err:5 https://apt.kitware.com/ubuntu bionic Release
Certificate verification failed: The certificate is NOT trusted. The received OCSP status response is invalid. Could not handshake: Error in the certificate verification. [IP: 66.194.253.25 443]
We are running the exact same commands from the documentation at https://apt.kitware.com/. To reproduce, in a fresh Ubuntu 18.04 image:
Do you believe we could mirror the repository ourselves to have a plan B on those cases? Any guidance/documents would be much appreciated. Thanks in advance.
@automata great. Meanwhile we found and fixed the problem with the OCSP check. We also updated the instructions on apt.kitware.com to explicitly mention the ca-certificates package.
@brad.king while on it, do you have any suggestions and guidance on how to mirror apt.kitware.com? We are interested in making sure we can have some plan B when problems like that happen. Thank you in advance.
apt.kitware.com was originally meant for use by humans to install a recent CMake on Ubuntu LTS versions. I don’t think we can guarantee download performance and uptime at a level needed for widespread use in CI jobs. Instead such jobs can download from the CMake Releases page on GitHub, which is backed by a CDN. CMake’s own CI jobs do this using code here. Projects like get_cmake can help.