Question

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

I’m following the instructions from this page:

https://www.digitalocean.com/docs/monitoring/how-to/install-agent/#with-an-installation-script

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:SSL23_GET_SERVER_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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

Cheers

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.