Article ID: 128461, created on Feb 25, 2016, last review on Feb 25, 2016

  • Applies to:
  • Plesk 12.5 for Linux


How to disable SSL for all domains on required IP address?


  1. Dump all the domain's names that have required IP to file:

      # mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ne"select from DomainServices inner join IpAddressesCollections on IpAddressesCollections.ipCollectionId=DomainServices.ipCollectionId inner join domains on inner join IP_Addresses on where type='web' and ip_address=''" > /root/domains.list

    change to required IP address.

  2. Disable SSL option on all domains from list:

      # cat /root/domains.list | while read dom; do /usr/local/psa/bin/domain -u $dom -ssl false;done

742559b1631652fadd74764ae8be475e 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 e335d9adf7edffca6a8af8039031a4c7 0efe2234e2ce513f2186f26c68447702

Email subscription for changes to this article
Save as PDF