Https Tool Utility

Https Tool is aimed to create certificates. The utility located in the Dr.Web plug-in folder and is used during the plug-in installation. If you need to update the certificate, you can use this utility.

Https Tool parameters

Https Tool generates a certificate using the following parameters:

HttpsTool.exe --help

Https tool options:

-h [ --help]        Show help

-m [ --mode]        Select mode: crt (self-signed x509 certificate) or dh

                   (Diffie-Hellman parameters)

Certificate options:

-c [ --common] arg   [Required] Common name

-d [ --dns] arg      Alternative subject name (DNS)

-i [--ip] arg        Alternative subject name (IP)

Diffie-Hellman options:

The flag -m [--mode] sets the utility run modecrt or dh. crt mode generates an X.509 certificate. As a result, ca_root.key, ca_root.crt, and server.pem files will be created in the Dr.Web plug-in folder.

The following certificate parameters are possible:

-c, --common is a required parameter. It adds the Common name (CN) attribute to the certificate,

-d, --dns attribute is an optional parameter. You can use it to specify the dns list in the Subject Alternative Name (SAN) certificate attribute. Values must be separated by a space,

-i, --ip is an optional parameter. Similar to -d, -- dns, but for IP addresses.

Example of Https Tool activation (crt mode):

HttpsTool.exe -m crt -c "Common name" -d dns1 dns3 dns3

After executing the command, the utility will generate the required certificate.

dh mode creates Diffie-Hellman protocol parameters. This command has no additional parameters. As a result, a dh.pem file will be created in the Dr.Web plug-in folder.

Example of Https Tool activation (dh mode):

HttpsTool.exe -m dh

After executing the command, the utility will generate the required file. It may take some time to generate the file.

In case of successful execution of command, Https Tool will automatically finish the work. If errors occur during operation, they will be displayed in the console.