Answer the question
In order to leave comments, you need to log in
Bat. Lines from file to variables. How?
Good time of the day! Help, please, knowledgeable people)
Using the CryptoPro utility command, I display the list of certificates on the root token in the
CSP file (Type: 80) v4.0.9019 KC1 Release Ver: 4.0.9963 OS: Windows CPU: AMD64 FastCode: READY: SSSE3.
AcquireContext: OK. HCRYPTPROV: 16674800
\\.\Aktiv Co. ruToken 0\crl1
\\.\Aktiv Co. ruToken 0\crl2
\\.\Aktiv Co. ruToken 0\crl3
OK.
Total: SYS: 0.141 sec USR: 0.016 sec UTC: 0.844 sec
[ErrorCode: 0x00000000]
Need lines that start with \\.\Aktiv Co. ruToken 0\ (there may be a different number), set as variables, so that later you can use CryptoPro utilities in the next command (output data about the certificate)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question