Skip to content

Commit

Permalink
move SAML cert location to /etc/saml/cert
Browse files Browse the repository at this point in the history
  • Loading branch information
nkissebe committed Sep 11, 2024
1 parent b5c955b commit f1f8b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/components/com_saml/models/IdP.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getEntityID()
*/
public function getCertificate()
{
return \LightSaml\Credential\X509Certificate::fromFile( \Component::path('com_saml') . DS . 'config' . DS . 'certificate.crt');
return \LightSaml\Credential\X509Certificate::fromFile("/etc/saml/cert/saml.crt");
}

/**
Expand All @@ -49,7 +49,7 @@ public function getCertificate()
*/
public function getPrivateKey()
{
return \LightSaml\Credential\KeyHelper::createPrivateKey( \Component::path('com_saml') . DS . 'config' . DS . 'certificate.key', '', true);
return \LightSaml\Credential\KeyHelper::createPrivateKey("/etc/saml/cert/saml.pem", '', true);
}

/**
Expand Down

0 comments on commit f1f8b25

Please sign in to comment.