keytool -certreq

Description

Generate a certificate signing request (CSR).

Command
keytool -certreq
Examples
Generate CSR
keytool -certreq -alias mykey -file request.csr -keystore keystore.jks
Parameters
Parameter Type Required Description
-alias string No Alias name for the key entry
-file string No Output CSR file
-keystore string No Keystore location
-storepass string No Keystore password
Command Info
Category: Certificate Management
Type: Java-Keytool
Views: 12
Status: Active
Tags
csr request signing