Viewing SSL certificates with Keytool

To read the server certificate with keytool:

keytool -list -storetype jks -keystore cacerts

To read a CSR:

keytool -printcert -file cascade.csr