How to enable SSL support for all subscriptions on a Plesk server?

Follow

Comments

2 comments

  • Avatar
    Anders Urban

    For windows it should be

    plesk db -e "select name from domains" > domains.txt
    for /f "skip=1" %%i in (domains.txt) do plesk bin subscription -u %%i -ssl true
  • Avatar
    Ivan Postnikov (Edited )

    Hello @Anders,

    The commands from the article work fine when executing from CLI, I have double-checked it on a test server. But in a file, you have to use a double percent sign (%%) to yield a single percent sign (%).

     

Please sign in to leave a comment.

Have more questions? Submit a request