Difference between revisions of "Keytool"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* <code>keytool -list -keystore ..\lib\security\[[cacerts]]</code> | * <code>keytool -list -keystore ..\lib\security\[[cacerts]]</code> | ||
* <code> keytool -list -keystore /opt/java/openjdk/jre/lib/security/cacerts</code> | * <code> keytool -list -keystore /opt/java/openjdk/jre/lib/security/cacerts</code> | ||
+ | |||
+ | |||
+ | keytool -list | ||
+ | keytool error: java.lang.Exception: Keystore file does not exist: /root/.keystore | ||
+ | |||
Trusted Certificate is a signed [[X.509]] [[certificate]] issued by a trusted entity. | Trusted Certificate is a signed [[X.509]] [[certificate]] issued by a trusted entity. |
Revision as of 09:50, 4 March 2021
Java Keytool
command
Manage private keys and public certificates
keytool -list -keystore ..\lib\security\cacerts
keytool -list -keystore /opt/java/openjdk/jre/lib/security/cacerts
keytool -list keytool error: java.lang.Exception: Keystore file does not exist: /root/.keystore
Trusted Certificate is a signed X.509 certificate issued by a trusted entity.
/opt/java/openjdk/jre/lib/security/cacerts
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 -command_name -help" for usage of command_name
See also
- https://linux.die.net/man/1/gkeytool
- JVM,
keytool
, JVM arguments,Xmx, Xms, Java.lang.OutOfMemoryError
, Oops, Java bytecode openssl
[rand | s_client | passwd
|openssl req
|openssl rsa
|openssl genrsa
|openssl x509
|openssl ca
|openssl verify
|openssl ec
|openssl dgst
|openssl pkcs12
|openssl asn1parse
|openssl help
|.cer to .pem, openssl version
- CA, Root Certificates, FreeIPA, PKI, OpenCA, Wildcard certificate,
certtool
,certbot
(Let's Encrypt),certinfo
(Cloudflare), ACME, Boulder,cfssl
(Cloudflare), Public key certificate, public key, TLS and X.509, OCSP, Subject Alternative Name (SAN),openssl ca
, Self signed certificate, CSR,keytool
, ACM, KMS,aws acm
, IdenTrust, multirootca, cert-manager, ca_cert_identifier
Advertising: