I was trying to get a Gitlab runner working on an old Ubuntu 14.4 box, but the runner was showing
gnutls_handshake() failed: Handshake failed - ie. it couldn’t connect to the self-hosted Gitlab instance.
ssh -T email@example.com showed a successful connection, but
gnutls-cli git.example.com showed:
Resolving 'git.example.com'... Connecting to '184.108.40.206:443'... *** Fatal error: A TLS fatal alert has been received. *** Received alert : Handshake failed *** Handshake has failed GnuTLS error: A TLS fatal alert has been received.
This thread on gitlab.com has the answer. Edit your gitlab’s
/etc/gitlab/gitlab.rb to have some additional ciphers:
nginx['ssl_ciphers'] = 'ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:AES256-SHA:AES128-SHA:DES-CBC3-SHA'
gitlab-ctl reconfigure and confirm that
gnutls-cli git.example.com now connects successfully.
- Patch for aarch64 (aka arm64) openssl 1.0.2 'relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P error'
- TIL: the `NO_COLOR` informal standard to suppress ANSI colour escape codes
- Copy the contents of a branch into an existing git branch without merging
- Adding search to a static Jekyll site using pagefind
- asdf, python and automatically enabling virtual envs