Plex Media Server can't sign in to Plex Account

In some rare cases, Plex Media Server may have trouble signing in to an otherwise-valid Plex Account. This is almost always caused by something on the local network or computer running the Server interfering with things.

Error: 60, Peer certificate cannot be authenticated with given CA certificates

In some cases, you may see Plex Media Server.log log lines similar to this when you have trouble signing into your Plex Account on the Server:

Oct 28, 2014 10:46:52:326 [2864] DEBUG - HTTP requesting to: https://plex.tv/users/sign_in.xml
Oct 28, 2014 10:46:52:966 [2864] ERROR - Error issuing curl_easy_perform(handle): 60
Oct 28, 2014 10:46:52:966 [2864] WARN - Error issuing request to: https://plex.tv/users/sign_in.xml (60, Peer certificate cannot be authenticated with given CA certificates) (SSL certificate problem: unable to get local issuer certificate)

Related Page: Reporting Issues with Plex Media Server
Related Page: Plex Media Server Log Files

Possible Causes

This indicates that something is interfering with the security certificate chain. It's typically something "injecting" itself into the certificate chain, causing things to be invalid. Some possible causes (though this is not an exhaustive list):

  • Security software on computer
  • Proxy (on computer or network)
  • VPN
  • Internet Service Provider requiring you install a Certificate Authority certificate (which results in them proxying all your connections)

Software known to have caused issues previously:

  • Covenant Eyes (CovenantEyesProxy)
  • ESET
  • Kaspersky

Possible Solutions

First, try disabling all of your security software, proxies, VPNs, etc. and see if things work. If they do, then you can enable things one at a time, testing at each point until you find what it is that caused the issue. Note that some security software can actually still remain running and affect things even if you quit or disable it; you may have to actually uninstall it to get an accurate test.

If you determine that security software is the culprit, then in the security software, try to:

  • flag Plex Media Server as an allowed/approved application
  • add an exception for Plex Media Server
  • allow/open relevant ports for Plex Media Server (in the security software; this is not in relation to the router port forwarding)

Related Page: What network ports do I need to allow through my firewall?