Hola, estoy intentando instalar gitlab en un servidor virtual Ubuntu 18.04, siguiendoestos pasosdel sitio web oficial.
Pero cuando en el segundo paso curl -v https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
estoy recibiendo:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 54.153.54.194...
* TCP_NODELAY set
* Connected to packages.gitlab.com (54.153.54.194) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to packages.gitlab.com:443
* stopped the pause stream!
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to packages.gitlab.com:443
Versión de rizo: rizo 7.58.0; OpenSSL: 1.1.1
¿Alguien sabe cómo puedo solucionar esto? o al menos investigar más profundamente.
Gracias
Editar: wget tampoco funciona. Vuelve:
--2021-08-05 19:40:01-- https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh
Resolving packages.gitlab.com (packages.gitlab.com)... 54.153.54.194, 2600:1f1c:2d4:8900:17a1:2e94:9f90:f91e
Connecting to packages.gitlab.com (packages.gitlab.com)|54.153.54.194|:443... connected.
Unable to establish SSL connection.
Converted links in 0 files in 0 seconds.
Respuesta1
Por lo general, cuando tiene errores de certificado como este, siempre debe asegurarse de acceder a los sitios web correctos y de no ser redirigido a otro lugar... pero en su caso no creo que sea el caso.
Para solucionar este problema, haga:
apt-get clean && apt-get update && apt-get upgrade
Esto debería limpiar el caché de sus repositorios y actualizar todo. Tiene una versión antigua de curl y OpenSSL y creo que este problema está relacionado con OpenSSL.
Actualice todo y debería funcionar.
De lo contrario, para evitar las comprobaciones SSL, utilice:
curl --insecure https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh