java.base/sun.security.tools.keytool.Main - "keytool" Command
How to run "keytool" command from JDK lib\modules JImage file?
"keytool" command allows you to generate encryption keys and manage key certificates in key store files.
"keytool" command is supported by the jmods\jdk.base.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
You can run the "keytool" command using the lib\modules JImage file as described below using JDK 11 as an example:
C:\fyicenter>set JDK_HOME=\fyicenter\jdk-11.0.1 C:\fyicenter>%JDK_HOME%\bin\java --module java.base/sun.security.tools.keytool.Main Key and Certificate Management Tool Commands: -certreq Generates a certificate request -changealias Changes an entry's alias -delete Deletes an entry -exportcert Exports certificate -genkeypair Generates a key pair -genseckey Generates a secret key -gencert Generates certificate from a certificate request -importcert Imports a certificate or a certificate chain -importpass Imports a password -importkeystore Imports one or all entries from another keystore -keypasswd Changes the key password of an entry -list Lists entries in a keystore -printcert Prints the content of a certificate -printcertreq Prints the content of a certificate request -printcrl Prints the content of a CRL file -storepasswd Changes the store password of a keystore Use "keytool -?, -h, or --help" for this help message Use "keytool -command_name --help" for usage of command_name. Use the -conf <url> option to specify a pre-configured options file.
2019-10-18, 1464👍, 0💬
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
ZooKeeper is a centralized service for maintaining configuration information, naming, providing dist...
What Is javamail-1_2.zip? javamail-1_2.zip is the binary package of JavaMail API 1.2 in ZIP format. ...
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...
How to read XML document with DTD validation from socket connections with the socket\DelayedInput.ja.. .