gnutls_handshake() failed: Handshake failed
You may see this error when connecting to certain repositories from a DreamHost server. This is related to an Ubuntu 14 bug.
DreamHost is currently upgrading all web servers to Ubuntu Bionic 18 where you will no longer run into this error. View the following article for further details on Bionic: