The goal: create assymetric key pair on two systems (with same private key value).
The key value need not to be known for the user (no clear form needed), just same key in two systems.
I mean new key, so there is no need to export existing private key (which is impossible as far as I know).
Well, I tried to use CSNDPKG. The service allow to provide KEK label to export the assymetric key. I've got rc=8, rsn=85e, which means "The key usage attributes of the variable-length key token does not allow the requested operation."
The KEK is AES EXPORTER key. I can't guess what key usage is missing or how to change it. I could use other KEK, however I still don't know how to create the KEK.
BTW: My understanding is the CSNDPKG with KEK will create assym key par encrypted under the KEK. Then I have to import it (how?) on both, this (local) system and the remote system. Am I right?
------------------------------
Radosław Skorupka
------------------------------