I do not know very well keystore / truststore lingo but as far as I’m concerned, a truststore keeps the certificates trusted by a peer server.
I can view the content of a keystore using
keytool -list -keystore refArchive/testkeystore
Enter keystore password: password
Is there any equivalent for the truststore? How can I view the trusted certificates?
thx!
Yes there is.The exact same command since keystore and truststore differ only in what they store i.e. private key or signed public key (certificate)
No other difference