Unable to acivate "Use DomainKeys spam protection system to sign outgoing email messages"

Created:

2016-11-16 13:11:18 UTC

Modified:

2017-06-14 10:28:28 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to acivate "Use DomainKeys spam protection system to sign outgoing email messages"

Applicable to:

  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Note: This article has the reference to the issue with the fix available:

  • #PPPM-3998 "Generating SSL certificates for DomainKeys failed with the “openssl failed: Empty error message from utility” error if a removable drive was mounted on the server and assigned the drive letter F:"
    Fixed in:
Please consider updating your server:

Symptoms

The following error is discovered:

[2016-01-31 04:39:13] PleskUtilException: "C:\\Program Files (x86)\\Parallels\\Plesk\\/admin/bin/openssl" genrsa -out "C:/Program Files (x86)/Parallels/Plesk/PrivateTemp/keyA45A.tmp" 768 failed with message: Empty error message from utility.
file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\common_func.php3
line: 150
code: 0
trace: #0 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\DSMail.php(130): util_exec('openssl', Array)
#1 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\DSMail.php(82): DSMail->GenerateDomainKey()
#2 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Service\\Mail.php(402): DSMail->update(false)
#3 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\Form\\Final\\MailSettings.php(475): Service_Mail->updateMailService(Object(Service_Mail_Parameters))
#4 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Smb\\Form\\Final\\MailSettings.php(414): Smb_Form_Final_MailSettings->_processMailSettings()
#5 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\application\\smb\\controllers\\MailSettingsController.php(84): Smb_Form_Final_MailSettings->processForm()
#6 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Action.php(516): Smb_MailSettingsController->editAction()
#7 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Dispatcher\\Standard.php(295): Zend_Controller_Action->dispatch('editAction')
#8 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Application\\Web.php(38): Zend_Controller_Front->dispatch(NULL)
#10 C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\htdocs\\application.php(15): Plesk\\Application_Web->run()
#11 {main}

DNS record "default._%" is created empty:

default._domainkey.ciab.pt.    TXT     p=

Cause

1) in Plesk, we are launching openssl.exe utility without setting explicitly OPENSSL_CONF environment variable.2) openssl.exe has it's own hardcoded (precompiled) path where openssl.cnf file will be searched if there is no env. variable OPENSSL_CONF set.

In given case Plesk 12.0 openssl.exe library libeay32.dll has its default path hardcoded to "F:\repo\openssl-1.0.1h_x86_vc11_install/openssl.cnf"

openssl tries to lookup this config file, and on other servers with Plesk there is no drive F, or this path is just doesn't exist, but browsable at least.

On this server drive F is Removable Drive and there is no drive inserted. As a result no file found

Bug #PPPM-3998 . It is fixed in Plesk 12.5 MU #43 and Plesk Onyx.

Resolution

Install the latest microupdates or Upgrade to the latest Plesk version .

Have more questions? Submit a request
Please sign in to leave a comment.