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

March 1, 2019 648 views
Data Analysis Ubuntu

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

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.


Have another answer? Share your knowledge.