Page 1 of 1
DirectAdmin appears to be using SSL. Change your script to connect to ssl://
Posted: Wed Sep 05, 2018 10:24 pm
by caguilar1
how can I configure this
DirectAdmin appears to be using SSL. Change your script to connect to ssl://
Re: DirectAdmin appears to be using SSL. Change your script to connect to ssl://
Posted: Thu Sep 06, 2018 11:52 am
by magicspam
Hello caguilar1,
Thank you for your post.
In order to resolve this issue, please perform the following:
1. Set the ssl_ignore_when_local to 1 in directadmin configuration.
- open /usr/local/directadmin/conf/directadmin.conf
- add the following line to file if it is not in there:
ssl_ignore_when_local=1
- restart directadmin via:
cd /usr/local/directadmin
echo "action=directadmin&value=restart" >> data/task.queue; ./dataskq d2000
2. Run command to edit lib.HTTPSocket.php (one-line)
sed -i -e 's/ $host/"127.0.0.1"/g' /usr/share/magicspam/php/lib/lib.HTTPSocket.php
3. Run command to edit magicspam-ds-sync (one-line)
sed -i -e 's|#!/bin/php|#!/bin/php -nc/usr/local/directadmin/plugins/magicspam/php.ini|g' /usr/share/magicspam/bin/magicspam-ds-sync
Please let us know if this resolves the issue or if you need any further assistance.