Interview Prep/Networking/TLS and certificate errors

`curl: (35) error:0A00010B:SSL routines::wrong version number`

BeginnerTroubleshootingTLS and certificate errors
Answer

Likely causes → Client speaks TLS to a port that answers plain HTTP (e.g. https://host:80, or a proxy port expecting HTTP CONNECT), or https_proxy is set to https://proxy:3128 when the proxy speaks plain HTTP.

Diagnose →

curl -v http://host:8080/
env | grep -i proxy

Fix → Use the correct scheme/port; set https_proxy=http://proxy:3128 (the proxy URL scheme describes how you talk to the proxy).

Prevent → Keep port conventions consistent and document proxy variables.

All Networking questions Roadmap: Networking for DevOps

More on TLS and certificate errors