(cherry picked from commit 3887a68b91922afd3c7c4f14775e1174d224509c)
Changed the signatures of the modules method,
because sign-file on centos 8 is not a perl script,
but an executable command.
The file extension of the private key was changed from priv to pem.
Change-Id: Iebaef3de223e3577a0407ce4d63122e26e189a4f
Story: 2007308
Task: 38799
Depends-On: https://review.opendev.org/720325
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>