Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space IDD and version 2.1
Sv translation
languageru

Чтобы не допустить несанкционированный доступ к Системе и повысить защищенность канала передачи данных, можно добавить новый пользовательский сертификат для web-службы. Это действие доступно в любой момент использования Системы и выполняется через командную строку. Чтобы добавить пользовательский сертификат:

  1. Разместите на диске два файла в формате PEM:
    • файл с сертификатом (например: test.crt);
    • файл с закрытым ключом (например: test.key).
  2. Перейдите в директорию,в которую был распакован архив с дистрибутивом при установке Системы.

     

    Информация
    titleПримечание:

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

    Дополнительно рекомендуем проверить хеш-суммы сертификата и ключа с помощью команд:

    Блок кода
    languagetext
    openssl x509 -noout -modulus -in test.crt | openssl md5
    
    openssl rsa -noout -modulus -in test.key | openssl md5

    Значение в выводе команд должно совпадать.

  3. Выполните команду от имени пользователя с правами root:

    Блок кода
    ./setup.py setwebkeys --certificate=/folder/test.crt --privatekey=/folder/test.key

    В нашем примере:

    • /folder/test.crt – полный путь к файлу с сертификатом;
    • /folder/test.key – полный путь к файлу с закрытым ключом.

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

Sv translation
languageen

To prevent unauthorized access to the System and to increase the security of the data transmission channel, you can add a new user certificate for web service. You can add a certificate via command line at any time while using the System. To add a certificate:

  1. Place two PEM files on the disk:
    • A certificate file (e.g.,  test.crt);
    • A private key file (e.g.,  test.key).
  2. Navigate to the directory to which you unpacked the distribution archive during the installation.

    Информация
    titleNote:

    The Platform does not support using password-protected keys.

    Additionally, it is recommended to check hash sums of the certificate and the key by using the following commands:

    Блок кода
    languagetext
    openssl x509 -noout -modulus -in test.crt | openssl md5
    
    openssl rsa -noout -modulus -in test.key | openssl md5

    The values in the outputs of the commands must be the same.

  3. Run the command as a user with root privileges:

    Блок кода
    ./setup.py setwebkeys --certificate=/folder/test.crt --privatekey=/folder/test.key

    In our example:

    • /folder/test.crt is the full path to the certificate file;
    • /folder/test.key is the full path to the private key file.

The last added certificate is considered valid. After adding or replacing a certificate, manually reload all browser tabs used by the System.