This issue drives me crazy because I observe it for a decade now.
Suppose I have a certificate in a JKS file, maybe a trusted certificate, maybe certificate + key.
I try to print it using keytool:
keytool -printcert -keystore node01.jks -alias node01
Aaaand it just hangs. It’s completely unresponsive. The key store is good, I can list certificates in it, but for a decade it would hang on me trying to print these certificates.
What’s happening here? Why am I getting this? Do they think this is good UX/UI? This is Oracle, so still above average for them, I know, I know…