• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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