• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

"Unable to activate ssl hosting without ssl certificate" during migration

M

meat1oaf

Guest
Most of my users use the default ssl certificate on the server. None use a purchased one at the moment. However, while trying to migrate from 8.2 (FC2) to 9.3 (Centos 5.3) i receive the following error

<?xml version="1.0"?>
<execution-result status="success">
<object name="domain.com" type="domain">
<object name="domain.com" type="hosting">
<message code="ExecCmd::ExFailed" severity="error">
<context>void plesk::ExecCmd::reportError() const</context>
<file>ExecCmd.cpp</file>
<line>49</line>
<text>Execution of /usr/local/psa/admin/plib/api-cli/domain.php --update domain.com -ssl true failed with return code 1.
Stderr is
An error occured during domain update: error in hosting updating: Unable to update hosting preferences: Unable to activate ssl hosting without ssl certificate
</text>
</message>
<message code="FailedProtDirDeployment" severity="error">
<context>virtual void plesk::tProtDirDeployer::act(xmlNode*) const</context>
<file>./web_deployer.cpp</file>
<line>108</line>
<text>Failed deployment of prot.directory admin (domain snpool.com)</text>
<message code="ExecCmd::ExFailed" severity="error">
<context>void plesk::ExecCmd::reportError() const</context>
<file>ExecCmd.cpp</file>
<line>49</line><text>Execution of /usr/local/psa/admin/plib/api-cli/protdir.php --create admin -domain domain.com -type ssl,nonssl failed with return code 1.
Stderr is
Unable create protected dir: SSL is disabled on domain
</text>
</message>
</message>
</object>
</object>
</execution-result>


Now, there should be nothign complicated here. If all could use the defualt server cert, that would be great.
Any ideas?
 
Error like

<text>Failed deployment of prot.directory admin (domain snpool.com)</text>
<message code="ExecCmd::ExFailed" severity="error">
<context>void plesk::ExecCmd::reportError() const</context>
<file>ExecCmd.cpp</file>
<line>49</line><text>Execution of /usr/local/psa/admin/plib/api-cli/protdir.php --create admin -domain domain.com -type ssl,nonssl failed with return code 1.
Stderr is
Unable create protected dir: SSL is disabled on domain

means that SSL is not enabled for domain snpool.com but enabled protected directory admin for https://
 
yes, but how do i fix it? How can I ensure that all new migrated domains have ssl enabled by default with the plesk default certificate?
 
Back
Top