Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Ошибка 

...

Error

If the user successfully imports the test private key, a confirmation message appears (Fig. 1).

  

Рисунок 1 – успешное добавление справочника

Image Removed

Рисунок 2 – пример ошибки

Варианты решения

Для решения данной проблемы необходимо

...

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).  

Image Added

Fig. 2 – “Object already exists” Error

Troubleshooting 

To solve the “Object already exists” Error:

  1. navigate to the certificates folder:
    1. for ОС Windows 7/Server2008 – C:\Users\User\AppData\Roaming\Microsoft\Crypto\RSA\;
    2. для for ОС Windows 8 – C:\Users\User\AppData\Roaming\Validata\rcs.
  2. удалить содержимое папки;
  3. добавить тестовый закрытый ключ согласно инструкции добавления тестового ключа (см. раздел Тестовые ключи, RSA)

Если данная ошибка открывается повторно, необходимо на адрес электронной почты support@itglobal.ru написать письмо, в котором следует указать шаги, выполнение которых приводит к появлению ошибки и ее скриншот. В ответ будет отправлено 2 файла:

  • исполняемый файл testcsp-x86 – утилита загрузки закрытого ключа в ПК Справочник сертификатов;

  • файл adding_key – командный сценарий, необходимый для запуска исполняемого файла.

Полученные файлы необходимо сохранить на компьютере в удобную для вас папку, затем выполнить следующее:

  1. разархивировать файл delete the contents of the folder;
  2. add test private key according to the instructions of adding a test key (see Test keys, RSA).

If the error persists:

  1. send an e-mail to support@itglobal.ru, indicating the steps that led to the error and a screenshot of the error. In reply you will get  2 files:
    1. executable filetestcsp-x86 utility for downloading the private key to the Certificate storage;
    2. fileadding_key the command script for starting the executable file.
  2. save the files ta folder on your computer;
  3. unzip the filetestcsp-x86.zip;
  4. перейти папку хранения сертификатов и удалить ее содержимоеnavigate to the certificates folder:
    1. для for ОС Windows 7/Server2008 – C:\Users\User\AppData\Roaming\Microsoft\Crypto\RSA\;
    2. для for ОС Windows 8 – C:\Users\AnnaUser\AppData\Roaming\Validata\rcs.
  5. открыть файл delete the contents of the folder;
  6. open the file adding_keyчерез текстовый редактор. В результате откроется командный сценарий  using the text editor. This will open a command script (рис. 3);


    Рисунок 3 – сценарий
     
    указать параметры закрытого ключа в строке Fig. – command script

  7. fill test private key parameters TestCSP.exe -csptype 1 -cspname "Microsoft Enhanced Cryptographic Provider v1.0" -private -import -cont "I98DP60K2ST1GM09" -blob "RsaFileName.rsa" –forexport:

    1. путь Path (рисfig. 4,1) к файлу ключа (например to the executable file testcsp-x86 (eg,C:\key\TestCSP.exe);

    2. cont (рисfig. 4,2) идентификатор ключа key ID (напримерeg, I10DP60K00T1GM07);

    3. blob (рисfig. 4,3) имя файла с ключом (напримерkey file name (eg, RsaFileName.rsa). 


    Рисунок 4 – параметры сертификата закрытого ключа

    Info

    Идентификатор ключа следует уточнить у Московской Биржи.

  8. сохранить файл;
  9. запустить файл adding_key двойным нажатием. В результате будет запущена утилита testcsp-x86 для автоматического добавления закрытого ключа в справочник.

...

  1. Fig. 4 – test private key parameters  

    Info

    The key ID you can check with the Moscow stock Exchange.

  2. save the file;
  3. double-click the source code file to open it. 
  4. launch the file adding_key in the following way: 
    1. right-click on the file;
    2. select "Run as administrator". As a result, the utility testcsp-x86 is automatically launched.

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).

Image Added
Figure 5 – informational message

Then the certificate must be set as default (see Adding a test keys, RSA).