I've been having an issue lately with Minecraft on my Ubuntu 18.04 machine. When I try to login to a server, I get a message saying the auth servers are down. However, I can confirm from Mojang's website and from friends that can connect to server that they are not down and the error is client side.
I've tried all the following solutions, but none have worked thus far:
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
sudo apt-get install ca-certificates-java
sudo dpkg --purge --force-depends ca-certificates-java
sudo apt-get install --reinstall ca-certificates-java
sudo update-ca-certificates -f