If the user successfully imports the test private key, a confirmation message appears (Fig. 1).
Fig. 1 – successful adding of the test private key
If the user incorrectly imports the test private key, the “Object already exists” error appears (Fig. 2).
Fig. 2 – “Object already exists” Error
To solve the “Object already exists” Error:
If the error persists:
open the file adding_key using the text editor. This will open a command script (рис. 3);
Fig. 3 – command script
fill test private key parameters TestCSP.exe -csptype 1 -cspname "Microsoft Enhanced Cryptographic Provider v1.0" -private -import -cont "I98DP60K2ST1GM09" -blob "RsaFileName.rsa" –forexport:
Path (fig. 4,1) to the executable file testcsp-x86 (eg,C:\key\TestCSP.exe);
cont (fig. 4,2) – key ID (eg, I10DP60K00T1GM07);
blob (fig. 4,3) – key file name (eg, RsaFileName.rsa).
Fig. 4 – test private key parameters
The key ID you can check with the Moscow stock Exchange.
Next, you need to run Certificate storage to make sure that the key had been imported. When running Certificates storage using the Start menu→All Programs→ ПКЗИ СЭД МБ (MOEX EDS DSSK)→Справочник сертификатов (Certificates storage), a message will appear informing that the personal storage is protected with the test certificate. You need to click the OK button in this window (Fig. 5).
Figure 5 – informational message
Then the certificate must be set as default (see Adding a test keys, RSA).