I understand the default Java Truststore contains root certificates and other certs related to trust. However, what keys are stored in the default Java keystore? As far as I've understood, keystores are used for
which authentication credentials should be sent to the remote host for authentication during SSL handshake. if you are an SSL Server you will use private key during key exchange algorithm and send certificates corresponding to your public keys to client, this certificate is acquired from keyStore.
according to http://javarevisited.blogspot.com/2012/09/difference-between-truststore-vs-keyStore-Java-SSL.html. I find it hard to come up with use cases for a general keystore bundled with the Java environment.