Question: how ssl certificate works in java?
Answer: when a client (browser) connect to Server using https, Server returns certificates issued by trusted third party issuer, if it's Java application, it can access certs stored in its keystore and truststore, the browser also has those certificate in his trusted certificate store and validates any certificate presented by ...