Skip to content

CryptoPro

CryptoPro is a line of crypto providers developed by the company of the same name. They are used in programs for generating electronic signatures, working with certificates, organizing the PKI structure, etc.

Installation of CryptoPRO

  1. Download the archive of CryptoPro CSP 5.0 software for Linux (x64, rpm) - ALT, RED OS, ROSA from the official website

Внимание

Registration on the site is required in advance

Download section
  1. Unpack the archive (RMB -> Extract) and open the linux-amd64 folder
Unpacking archive
  1. Open this folder in the terminal: RMB -> Open Terminal
Context menu for opening a terminal
  1. Run the installer
shell
sudo apt-get update
sudo ./install_gui.sh
  1. Click on the <Next> button. You can move between blocks using the Tab button, using the arrows inside the blocks on the keyboard , , , , to confirm, use Space or Enter.
Installer
  1. Select all packages to install, except Provider KS2. To select, use Space, to confirm Enter or <Next>
Selecting components to install
  1. Start installation by selecting <Install>
Confirm installation list
  1. Wait for the installation to complete and click <Ok>
Completing installation
  1. If the license was purchased separately, select <Enter License> and enter the license number shown on the form. If there is no license or the certificate has a built-in license, select <Later>
License key
  1. Select <Exit> and close the installer.
Installer main menu

Sources:

Login using a token on Gosuslugi

  1. Install extensions for browsers based on Chromium or Mozilla Firefox

  2. Check that the extension is enabled: on the Gosuslugi website the extension should be in color and enabled. If not, check your extension settings

To check the operation: while on the Gosuslugi website, right-click on the extension, the second item from the top in the menu should be - the extension can access site data and change it

Extensions
  1. Install IFCPlugin package from Gosuslugi (Source: Installation s.2)

  2. Download ifcx64.cfg config file (Source: Installation s.3)

  3. Open a terminal (RMB -> Open Terminal) in the same folder where the ifcx64.cfg file is located, and run the command

shell
sudo cp ~/ifcx86.cfg /etc/ifc.cfg
  1. Login can be verified at Gosuslugi using your token on the login page:
  • Click on Login with electronic signature and Finish
  • Select the desired electronic signature certificate
  • In the Enter PIN code window, enter any value (it is not checked at this stage) and click Continue
  • When the CryptoPro CSP window appears, enter the PIN code for the key container in the Password field and click OK.
  1. If you encounter problems for browsers based on Chromium, run the following command:
shell
sudo cp /etc/opt/chrome/native-messaging-hosts/ru.rtlabs.ifcplugin.json /etc/chromium/native-messaging-hosts

Problem Solving

The error Electronic signature not found means that there are problems with the ifcx64.cfg file. Repeat the action from Step 4

Gosuslugi portal error

Sources:

Published under the GPL-3.0+ license. The content is available under the CC BY-SA 4.0 license, unless otherwise specified.