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

Follow

Comments

3 comments

  • Avatar
    Unknown User

    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
    0
    Comment actions Permalink
  • 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 (%).

     

    0
    Comment actions Permalink
  • Avatar
    David Law

    How do you also include the following via GUI:

    -Assign the certificate to mail domain

    -Secure webmail on this domain

    -Secure the wildcard domain (including www and webmail)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request