Creates a new keystore entry, which
has the same private key and
certificate chain as the original
entry.
The original entry is identified by
alias (which defaults to “mykey” if
not provided). The new (destination)
entry is identified by dest_alias. If
no destination alias is supplied at
the command line, the user is prompted
for it.
If the private key password is
different from the keystore password,
then the entry will only be cloned if
a valid keypass is supplied. This is
the password used to protect the
private key associated with alias. If
no key password is supplied at the
command line, and the private key
password is different from the
keystore password, the user is
prompted for it. The private key in
the cloned entry may be protected with
a different password, if desired. If
no -new option is supplied at the
command line, the user is prompted for
the new entry’s password (and may
choose to let it be the same as for
the cloned entry’s private key).