How do I resolve an SSL connection error when fetching the metrics agent installer script?

Posted March 1, 2019 2.3k views
UbuntuData Analysis

I’m following the instructions from this page:

However, the curl command appears to do nothing. Indeed, when I omit the pipe to ‘sh’, there’s still no output and no file saved locally. Even with the –verbose flag, I see nothing.

At least wget gives some useful errors:

OpenSSL: error:1407742E:SSL routines:SSL23GETSERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.

So, it’s something to do with TLS. Do I need to upgrade the OS on my droplet? It’s pretty old: Ubuntu 12.04

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

The script appears to be resolving find on my end. You might want to investigate running an update of your CA Bundle on your machine, potentially.

  • If it’s that much of an issue, you can always grab the script from a computer and paste it into your terminal session in your droplet ($ vim, paste, :wq, $ chmod +x, $ bash ./

    • That’s going to be my final resort. I’d like to update this machine, if it needs it, though! Can you tell me which OS you’re running?

You can also run curl with the “-k” flag to omit SSL complaints.