• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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