• 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

Script to Enable SSL Support

Status
Not open for further replies.

JArnoldussen

Basic Pleskian
Hello! We have many hundreds of domains on our Plesk 11.5 server (Linux) but many of them do not have SSL support enabled. Does anyone know of a script that would enable it for all domains and subdomains on our server, to save the tedious time of manually checking every domain?
 
Use this one:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain -u $i -ssl true; done
 
Status
Not open for further replies.
Back
Top