From 463b7aec7742e56b67fef363495d277614829b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B0=D0=BB=D1=82=D0=BE=D0=B1=D0=B8=D0=BD=20=D0=95?= =?UTF-8?q?=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9?= Date: Tue, 21 Jan 2025 16:16:32 +0300 Subject: [PATCH] added check script --- conf/check.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 conf/check.sh diff --git a/conf/check.sh b/conf/check.sh new file mode 100644 index 0000000..d50cd5e --- /dev/null +++ b/conf/check.sh @@ -0,0 +1,19 @@ +#/bin/bash +echo checking MNSV89@dev > /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/certmgr -list -thumbprint 2a13c8d0cfeb91291e2d693c7f4a58be8ad2dc8b -chain >> /tmp/sign-module-check.txt +echo checking MNSV90@test >> /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/certmgr -list -thumbprint d606400882963ead5dd8ec5728c64c3e9cf0edad -chain >> /tmp/sign-module-check.txt +echo checking MNSV93@cert >> /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/certmgr -list -thumbprint 2c215d376879c0b9f17f0f53fadc7ecad8eab594 -chain >> /tmp/sign-module-check.txt +echo checking MNSV94@uat >> /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/certmgr -list -thumbprint b8ecea8fad21e17defded238061cf31fbbc24593 -chain >> /tmp/sign-module-check.txt +echo checking MNSV126@prod >> /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/certmgr -list -thumbprint 0f948ba2b4866bf92e77f768a01add655daa5748 -chain >> /tmp/sign-module-check.txt +echo checking ESIA >> /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/certmgr -list -thumbprint e654f6114dc19bae84c5748794a4fd7797726e71 -chain >> /tmp/sign-module-check.txt +echo checking sign >> /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/curl -v http://127.0.0.1/sign -H "Content-Type: text/plain" -d "test" >> /tmp/sign-module-check.txt +echo checking version >> /tmp/sign-module-check.txt +/opt/cprocsp/bin/amd64/curl -v http://127.0.0.1/version >> /tmp/sign-module-check.txt +echo checking license >> /tmp/sign-module-check.txt +/opt/cprocsp/sbin/amd64/cpconfig -license -view >> /tmp/sign-module-check.txt \ No newline at end of file