What is the purpose of an SSL certificate in Java?
An SSL certificate in Java ensures that data transmitted over the network is securely stored in the system's keystore for future use.
Thatâ€™s partially correct. SSL certificates provide encryption and authentication, but theyâ€™re not primarily used for storing data in a keystore.
Can you explain how SSL certificates are used during the SSL handshake process to authenticate the server?