Question
How to enable SSL/TLS support for all subscriptions on a Plesk server?
Answer
Solution for Linux
- Log into the server via SSH.
- Execute the command below to generate
subscriptions.txt
 file, which contains a list of all subscriptions:# plesk bin subscription –list > subscriptions.txt
- Run the command below to enable the SSL/TLS support option for all subscriptions from theÂ
subscriptions.txt
 file:# cat subscriptions.txt | while read i; do plesk bin subscription –update $i -ssl true; done
Solution for Windows
- Log into the server via RDP.
- Start a command prompt as an Administrator.
- Execute the command below to generate
subscriptions.txt
 file, which contains a list of all subscriptions:C:> plesk bin subscription –list > C:subscriptions.txt
-
Run the command below to enable the SSL/TLS support option for all subscriptions from the
subscriptions.txt
file:C:>for /f %i in (C:subscriptions.txt) do plesk bin subscription -u %i -ssl true