[CRYP-7902] Support for Plesk file names

This commit is contained in:
Michael Boelen 2017-03-14 16:42:39 +01:00
parent 70607daa65
commit d8e41ca118
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
if [ ${CANREAD} -eq 1 ]; then
LogText "Result: found directory ${DIR}"
# Search for CRT files
sFINDCRTS=$(${FINDBINARY} ${DIR} -name "*.crt" -or -name "*.pem" -and -type f -print 2> /dev/null)
sFINDCRTS=$(${FINDBINARY} ${DIR} -name "*.crt" -or -name "*.pem" -or -name "cert*" -and -type f -print 2> /dev/null)
if [ ! -z "${sFINDCRTS}" ]; then
for FILE in ${sFINDCRTS}; do
FileIsReadable ${FILE}