Versions Compared

Key

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

Ошибка 

...

Error

When importing the test private key instead of the message about the successful import (Fig. 1) opens the Object already exists error (Fig. 2).

  

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

Image Removed

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

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

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

...

Fig. 1 – the successful adding of the test private key

Image Added

Fig. 2 – example of the error

Ways of solving

To solve this problem you need:

  1. go 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. разархивировать файл testcsp-x86.zip;
  2. перейти папку хранения сертификатов и удалить ее содержимое:для delete the contents of the folder;
  3. add test private key according to the instructions of adding a test key (see Test keys, RSA).

if the error persists, you should send letter to the e-mail address support@itglobal.ru indicating the steps which leads to the appearance of the error and a screenshot of the error. In reply you will get  2 files:

  • executable file testcsp-x86 utility for downloading the private key to the Certificate storage;

  • file adding_key the command script for starting the executable file.

You will need to save the files ta folder on your computer, then perform the following steps:

  1. unzip the filetestcsp-x86.zip;
  2. go to the certificates folder and delete the contents of the 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.
  3. открыть файл open the file adding_keyчерез текстовый редактор. В результате откроется командный сценарий  using the text editor. This will open a command script (рис. 3);


    Рисунок 3 – сценарийFig. – command script
     

  4. указать параметры закрытого ключа в строке 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

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

  5. сохранить файл;
  6. запустить файл 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 open the source code file using a double click. 
  3. run the file adding_key using a double click. As a result, the utility testcsp-x86 is automatically launched.

Next, you need to run Certificate storage and make sure that the key had been imported. Then the certificate must be set as default (see Adding a test keys, RSA).