VMware Cloud Community
mash213
Contributor
Contributor
Jump to solution

Keytool error for vcenter heartbeat

Hi,

when generating a csr for vCenter Heartbeat using keytool, we receive this error:

keytool error: java.lang.RuntimeException: Usage error, ûfile is not a legal command

Any ideas>?

thanks

0 Kudos
1 Solution

Accepted Solutions
mash213
Contributor
Contributor
Jump to solution

Found the solution as follows:

When you type the command you have to use another hyphen before the file command highlighted in red below (VMware KB Article 2013041 does not mention this😞


keytool -certreq -alias nfhb_private_certificate -sigalg MD5withRSA -–file NFKeyStore.csr -keystore NFKeyStore.jks -keypass password -storepass password

thanks

View solution in original post

0 Kudos
1 Reply
mash213
Contributor
Contributor
Jump to solution

Found the solution as follows:

When you type the command you have to use another hyphen before the file command highlighted in red below (VMware KB Article 2013041 does not mention this😞


keytool -certreq -alias nfhb_private_certificate -sigalg MD5withRSA -–file NFKeyStore.csr -keystore NFKeyStore.jks -keypass password -storepass password

thanks

0 Kudos