CentOS Dedicated Server unable to connect to Minecraft's Auth servers.

Discussion in 'Systems Administration' started by mja00, Feb 23, 2016.

  1. Freezes up and errors out with a SSL connect error.
     
  2. Can you paste the full error (or was that the full error?)
     
  3. * About to connect() to api.mojang.com port 443 (#0)
    * Trying 54.230.143.94... connected
    * Connected to api.mojang.com (54.230.143.94) port 443 (#0)
    * Initializing NSS with certpath: sql:/etc/pki/nssdb
    * CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
    * NSS error -5990
    * Closing connection #0
    * SSL connect error
    curl: (35) SSL connect error
     
  4. Run this command:
    Code (Text):
    ls -l /etc/pki/tls/certs/ca-bundle.crt
    If you get no output or it says the file/directory cannot be found, try creating a symbolic link to /etc/ssl/certs/ca-certificates.crt :
    Code (Text):
    ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
    Then try it again pasting your output back here if it fails:
    Code (Text):
    curl -v https://api.mojang.com/users/profiles/minecraft/dinnerbone
     
  5. -rw-r--r-- 1 root root 877042 Apr 23 2015 /etc/pki/tls/certs/ca-bundle.crt
    is the output of the first command
     
  6. Try this for me then please:
    Code (Text):
    ls -l /etc/ssl/certs/ca-certificates.crt
     
  7. ls: cannot access /etc/ssl/certs/ca-certificates.crt: No such file or directory
     
  8. No worries then. That was a dead end then.

    Out of curiosity try this for me please:
    Code (Text):
    curl --sslv3 -v https://api.mojang.com/users/profiles/minecraft/dinnerbone
     
  9. * About to connect() to api.mojang.com port 443 (#0)
    * Trying 54.230.143.94... connected
    * Connected to api.mojang.com (54.230.143.94) port 443 (#0)
    * Initializing NSS with certpath: sql:/etc/pki/nssdb
    * CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
    * NSS error -12286
    * Closing connection #0
    * SSL connect error
    curl: (35) SSL connect error
     
  10. Thats strange. Want to add me on Skype and we can try some other debugging steps? Dont want to be flooding people with notifications/emails is all:

    Skype: bradley.shaw27

    In the meantime try this:
    Code (Text):
    wget -q https://api.mojang.com/users/profiles/minecraft/dinnerbone
     
  11. Added