Disable the SSL certificate verification using an option available in the general panel of the plugin’ settings page.
This error message is generated by a misconfiguration of the server where your site is being hosted, last time I saw this was in one of the sites of one of our premium clients and the only way to fix the issue was to upgrade the version of OpenSSL installed in the server. I can not do this for you because obviously I do not have access to your server, so you can either request this upgrade to your hosting provider, or disable the SSL verification.
Yes this also fixed the scan problem for me.
I checked the “Disable local SSL certificate verification” box and still get the same error message.
Back in October, iThemes Support said to add this to the wp-config.php file:
define( ‘ITSEC_TEST_MALWARE_SCAN_DISABLE_SSLVERIFY’, true );
That fixed the problem for a time, but then I started getting the error messages again.
@ctman94 are you having issues with the Sucuri plugin or with the iThemes Security plugin? Because that constant is not being used anywhere in the code of the Sucuri plugin; you said that the iThemes support recommended you to add that piece of code in the main configuration file so we can assume that it only works for that extension alone.
Can you just contact your hosting provider and tell them to fix the issue in the openssl installation of the server where your website is being hosted? That is the only definitive way to fix that error; all these suggestions from both the Sucuri plugin and others are just workarounds as most hosting providers do not respond on time.