Keytool — Windows
keytool -export -alias old_arkham_gateway -file C:\certs\arkham.cer -keystore C:\certs\temp_keystore.jks It asked for a password. She typed changeit (the default for a new keystore) and then exported the certificate to a file called arkham.cer . She imagined the certificate as a tiny golden key, now sitting in her C:\certs folder.
She had two choices: panic, or finally learn the mysterious keytool utility she’d been avoiding for three years. keytool windows
cd C:\Program Files\Java\jdk-17\bin The first step was to peek at the enemy. She ran: She had two choices: panic, or finally learn
keytool -import -trustcacerts -alias old_arkham_gateway -file C:\certs\arkham.cer -keystore "C:\Program Files\Java\jdk-17\lib\security\cacerts" -storepass changeit The tool paused. Then, a terrifying question: Then, a terrifying question: The command prompt replied
The command prompt replied with the most beautiful words she had ever seen:
She needed to kidnap this certificate and force her Java to trust it. The command felt like a spell:


