This error can occur due to misconfigured ports on your machine. Diagnosing which ports in particular can be difficult but an easy fix is to try reinstalling the Epic Games Launcher as this applies a number of local configuration changes that support EOS as well.
https://dev.epicgames.com/community/learning/knowledge-base/k8zZx/epic-online-services-why-am-i-getting-a-libcurl-certification-error-libcurl-error-60-when-trying-to-auth-with-eos