Skip to content

Commit

Permalink
fix: key name
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Jan 12, 2025
1 parent 04d7cb1 commit e5f4808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Handler/CertificateEngine/AEngineHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public function getEngine(): string {

public function populateInstance(array $rootCert): self {
if (empty($rootCert)) {
$rootCert = $this->appConfig->getValueArray(Application::APP_ID, 'root_cert');
$rootCert = $this->appConfig->getValueArray(Application::APP_ID, 'rootCert');
}
if (!$rootCert) {
return $this;
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/Install/InstallService.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ public function generate(
$names
);

$this->appConfig->setValueArray(Application::APP_ID, 'root_cert', $rootCert);
$this->appConfig->setValueArray(Application::APP_ID, 'rootCert', $rootCert);
$this->appConfig->setValueString(Application::APP_ID, 'authkey', $privateKey);
/** @var AEngineHandler $engine */
if ($engine->getEngine() === 'cfssl') {
Expand Down

0 comments on commit e5f4808

Please sign in to comment.