• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error when using plesk "security-advisor" extention

VKD

New Pleskian
When start the "security-advisor" extention and we select a domain and then click "secure with with Let's Encrypt", then we get the following error:

Error: Execution letsencrypt-async.sh has failed with exit code 126, stdout: , stderr: sh: /usr/local/psa/admin/bin/modules/security-advisor/letsencrypt-async.sh: Permission denied

What is wrong?

Note: lets encrypt works without any problem when started from the domain setting.
 
Make sure that there are correct permissions:

# ll /usr/local/psa/admin/bin/modules/security-advisor/letsencrypt-async.sh
lrwxrwxrwx 1 root root 25 Feb 27 04:43 /usr/local/psa/admin/bin/modules/security-advisor/letsencrypt-async.sh -> ../../../sbin/mod_wrapper

# stat /usr/local/psa/admin/bin/modules/security-advisor/letsencrypt-async.sh
File: ‘/usr/local/psa/admin/bin/modules/security-advisor/letsencrypt-async.sh’ -> ‘../../../sbin/mod_wrapper’
Size: 25 Blocks: 0 IO Block: 4096 symbolic link
Device: 23h/35d Inode: 28972323 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
 
Back
Top