Association_Ouain
New Pleskian
Hi all,
Following the update from 11 to Plesk 12 (and installing latest Ubuntu fixes), the Plesk panel access is broken. Welcome page says:
Can not load key: key is empty.
And of course, no way to login the mgt interface. All services appear up, so this is only affecting the panel web service.
Fishing out the panel.log, it appears to be at a lower level than I initially thought (see below):
Has anyone experienced similar issues after updating from 11 to 12 on Ubuntu (12)?
Any ideas are welcome, thanks for your help.
Nick,
<log>
[18-May-2015 19:46:34 Europe/Berlin] PHP Warning: file_get_contents(/opt/psa/var/sso.sp.pem): failed to open stream: No such file or directory; File: /opt/psa/admin/externals/xmlseclibs.php, Line: 285
[18-May-2015 19:46:34 Europe/Berlin] Exception: PHP Warning: file_get_contents(/opt/psa/var/sso.sp.pem): failed to open stream: No such file or directory; File: /opt/psa/admin/externals/xmlseclibs.php, Line: 285
file: /opt/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'file_get_conten...', '/opt/psa/admin/...', 285, Array)
#1 /opt/psa/admin/externals/xmlseclibs.php(285): file_get_contents('/opt/psa/var/ss...')
#2 /opt/psa/admin/plib/sso/SAMLToken.php(485): XMLSecurityKey->loadKey('/opt/psa/var/ss...', true, false)
#3 /opt/psa/admin/plib/sso/SAMLToken.php(342): getXMLSecurityKey('/opt/psa/var/ss...', 'private')
#4 /opt/psa/admin/plib/sso/SAMLToken.php(314): SamlTokenGenerator::sign('<samlp:AuthnReq...')
#5 /opt/psa/admin/htdocs/login_up.php3(218): SamlTokenGenerator::AuthnRequest('https://host...', 'https://host...', 'mz3nfqll...hash...', '', false, false, 'https://host...', NULL)
#6 {main}
[2015-05-18 19:46:35] ERR [panel] Can not load key: key is empty.:
0: xmlseclibs.php:290
XMLSecurityKey->loadKey(string '/opt/psa/var/sso.sp.pem', boolean true, boolean false)
1: SAMLToken.php:485
getXMLSecurityKey(string '/opt/psa/var/sso.sp.pem', string 'private')
2: SAMLToken.php:342
SamlTokenGenerator::sign(string '<samlp:AuthnRequest
xmlns:samlp="urn
asis:names:tc:SAML:2.0
rotocol"
xmlns:ext="urn
asis:names:tc:SAML:2.0:metadata"
xmlns:saml="urn
asis:names:tc:SAML:2.0:assertion"
ID="e995a8c04e40c0b8272c8f04ec030d1f7b514128f6"
Version="2.0"
IssueInstant="2015-05-18T17:46:34Z"
Destination="https://hostname:8443/relay"
AssertionConsumerServiceURL="https://hostname:8443/login_up.php3...rl=https:/%@Fhostname3A8443/&return_host="
>
<saml:Issuer>mz3nfqll...hash...pi26yqc</saml:Issuer>
<samlp:Extensions>
<ext:Referer>
<ext:RefererScheme>https</ext:RefererScheme>
<ext:RefererHost>hostname</ext:RefererHost>
<ext:RefererPort>8443</ext:RefererPort>
</ext:Referer>
<ext:UI><ext:URL>https://hostname:8443/sso/ui</ext:URL></ext:UI>
</samlp:Extensions>
</samlp:AuthnRequest>')
3: SAMLToken.php:314
SamlTokenGenerator::AuthnRequest(string 'https://hostname:8443/relay', string 'https://hostname:8443/login_up.php3?window_id=&requested_url=https://hostname:8443/&return_host=', string 'mz3nfqll...hash...pi26yqc', string '', boolean false, boolean false, string 'https://hostname:8443/sso/ui', NULL null)
4: login_up.php3:218
[18-May-2015 19:46:35 Europe/Berlin] Exception: Can not load key: key is empty.
file: /opt/psa/admin/externals/xmlseclibs.php
line: 290
code: 0
trace: #0 /opt/psa/admin/plib/sso/SAMLToken.php(485): XMLSecurityKey->loadKey('/opt/psa/var/ss...', true, false)
#1 /opt/psa/admin/plib/sso/SAMLToken.php(342): getXMLSecurityKey('/opt/psa/var/ss...', 'private')
#2 /opt/psa/admin/plib/sso/SAMLToken.php(314): SamlTokenGenerator::sign('<samlp:AuthnReq...')
#3 /opt/psa/admin/htdocs/login_up.php3(218): SamlTokenGenerator::AuthnRequest('https://host...', 'https://host...', 'mz3nfqll...hash...', '', false, false, 'https://host...', NULL)
#4 {main}
</log>
Following the update from 11 to Plesk 12 (and installing latest Ubuntu fixes), the Plesk panel access is broken. Welcome page says:
Can not load key: key is empty.
And of course, no way to login the mgt interface. All services appear up, so this is only affecting the panel web service.
Fishing out the panel.log, it appears to be at a lower level than I initially thought (see below):
Has anyone experienced similar issues after updating from 11 to 12 on Ubuntu (12)?
Any ideas are welcome, thanks for your help.
Nick,
<log>
[18-May-2015 19:46:34 Europe/Berlin] PHP Warning: file_get_contents(/opt/psa/var/sso.sp.pem): failed to open stream: No such file or directory; File: /opt/psa/admin/externals/xmlseclibs.php, Line: 285
[18-May-2015 19:46:34 Europe/Berlin] Exception: PHP Warning: file_get_contents(/opt/psa/var/sso.sp.pem): failed to open stream: No such file or directory; File: /opt/psa/admin/externals/xmlseclibs.php, Line: 285
file: /opt/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'file_get_conten...', '/opt/psa/admin/...', 285, Array)
#1 /opt/psa/admin/externals/xmlseclibs.php(285): file_get_contents('/opt/psa/var/ss...')
#2 /opt/psa/admin/plib/sso/SAMLToken.php(485): XMLSecurityKey->loadKey('/opt/psa/var/ss...', true, false)
#3 /opt/psa/admin/plib/sso/SAMLToken.php(342): getXMLSecurityKey('/opt/psa/var/ss...', 'private')
#4 /opt/psa/admin/plib/sso/SAMLToken.php(314): SamlTokenGenerator::sign('<samlp:AuthnReq...')
#5 /opt/psa/admin/htdocs/login_up.php3(218): SamlTokenGenerator::AuthnRequest('https://host...', 'https://host...', 'mz3nfqll...hash...', '', false, false, 'https://host...', NULL)
#6 {main}
[2015-05-18 19:46:35] ERR [panel] Can not load key: key is empty.:
0: xmlseclibs.php:290
XMLSecurityKey->loadKey(string '/opt/psa/var/sso.sp.pem', boolean true, boolean false)
1: SAMLToken.php:485
getXMLSecurityKey(string '/opt/psa/var/sso.sp.pem', string 'private')
2: SAMLToken.php:342
SamlTokenGenerator::sign(string '<samlp:AuthnRequest
xmlns:samlp="urn
xmlns:ext="urn
xmlns:saml="urn
ID="e995a8c04e40c0b8272c8f04ec030d1f7b514128f6"
Version="2.0"
IssueInstant="2015-05-18T17:46:34Z"
Destination="https://hostname:8443/relay"
AssertionConsumerServiceURL="https://hostname:8443/login_up.php3...rl=https:/%@Fhostname3A8443/&return_host="
>
<saml:Issuer>mz3nfqll...hash...pi26yqc</saml:Issuer>
<samlp:Extensions>
<ext:Referer>
<ext:RefererScheme>https</ext:RefererScheme>
<ext:RefererHost>hostname</ext:RefererHost>
<ext:RefererPort>8443</ext:RefererPort>
</ext:Referer>
<ext:UI><ext:URL>https://hostname:8443/sso/ui</ext:URL></ext:UI>
</samlp:Extensions>
</samlp:AuthnRequest>')
3: SAMLToken.php:314
SamlTokenGenerator::AuthnRequest(string 'https://hostname:8443/relay', string 'https://hostname:8443/login_up.php3?window_id=&requested_url=https://hostname:8443/&return_host=', string 'mz3nfqll...hash...pi26yqc', string '', boolean false, boolean false, string 'https://hostname:8443/sso/ui', NULL null)
4: login_up.php3:218
[18-May-2015 19:46:35 Europe/Berlin] Exception: Can not load key: key is empty.
file: /opt/psa/admin/externals/xmlseclibs.php
line: 290
code: 0
trace: #0 /opt/psa/admin/plib/sso/SAMLToken.php(485): XMLSecurityKey->loadKey('/opt/psa/var/ss...', true, false)
#1 /opt/psa/admin/plib/sso/SAMLToken.php(342): getXMLSecurityKey('/opt/psa/var/ss...', 'private')
#2 /opt/psa/admin/plib/sso/SAMLToken.php(314): SamlTokenGenerator::sign('<samlp:AuthnReq...')
#3 /opt/psa/admin/htdocs/login_up.php3(218): SamlTokenGenerator::AuthnRequest('https://host...', 'https://host...', 'mz3nfqll...hash...', '', false, false, 'https://host...', NULL)
#4 {main}
</log>