Report this

What is the reason for this report?

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

Posted on March 1, 2019

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



This textbox defaults to using Markdown to format your 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.

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.

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

Cheers

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.