Hi,
I try to use remote cli from a windows 11. Php php-8.5.12-1 is installed on the windows workstation and remote.phar is in the same directory than php
remote cli and share key are configured on akeeba on the website (Joomla 6 last version , php 8.4 and akeeba last build),
commande executed in the console = php remote.phar --action=test --host=myurl --secret=mysecret
Error below ... What is missing for me ?
Fatal error: Uncaught Error: Call to undefined function Composer\CaBundle\openssl_x509_parse() in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php:189
Stack trace:
#0 phar://C:/php-8.5.12-1/remote.phar/vendor/akeeba/json-backup-api/src/Options.php(122): Composer\CaBundle\CaBundle::validateCaFile('C:\\Users\\frdt\\A...')
#1 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(79): Akeeba\BackupJsonApi\Options->__construct(NULL, false)
#2 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(87): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiOptions(Array)
#3 phar://C:/php-8.5.12-1/remote.phar/Application/Command/Test.php(16): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiObject()
#4 phar://C:/php-8.5.12-1/remote.phar/Application/Kernel/Dispatcher.php(102): Akeeba\RemoteCLI\Application\Command\Test->execute()
#5 phar://C:/php-8.5.12-1/remote.phar/remote.php(125): Akeeba\RemoteCLI\Application\Kernel\Dispatcher->dispatch()
#6 C:\php-8.5.12-1\remote.phar(15): require_once('phar://C:/php-8...')
#7 {main}
thrown in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 189
Akeeba Remote Control CLI 3.1.1 (2024-05-29)
I test th connection with "php remote.phar --action=test --host=mysitedomainename --secret=mysecret
Than in the console I get :
Deprecated: Akeeba\RemoteCLI\Application\Input\Cli::__construct(): Implicitly marking parameter $source as nullable is deprecated, the explicit nullable type must be used instead in phar://C:/php-8.5.12-1/remote.phar/Application/Input/Cli.php on line 33
Deprecated: Composer\CaBundle\CaBundle::getSystemCaRootBundlePath(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 67
Deprecated: Composer\CaBundle\CaBundle::validateCaFile(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 161
....
Fatal error: Uncaught Error: Call to undefined function Composer\CaBundle\openssl_x509_parse() in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php:189
Stack trace:
#0 phar://C:/php-8.5.12-1/remote.phar/vendor/akeeba/json-backup-api/src/Options.php(122): Composer\CaBundle\CaBundle::validateCaFile('C:\\Users\\frdt\\A...')
#1 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(79): Akeeba\BackupJsonApi\Options->__construct(NULL, false)
#2 phar://C:/php-8.5.12-1/remote.phar/Application/Command/AbstractCommand.php(87): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiOptions(Array)
#3 phar://C:/php-8.5.12-1/remote.phar/Application/Command/Test.php(16): Akeeba\RemoteCLI\Application\Command\AbstractCommand->getApiObject()
#4 phar://C:/php-8.5.12-1/remote.phar/Application/Kernel/Dispatcher.php(102): Akeeba\RemoteCLI\Application\Command\Test->execute()
#5 phar://C:/php-8.5.12-1/remote.phar/remote.php(125): Akeeba\RemoteCLI\Application\Kernel\Dispatcher->dispatch()
#6 C:\php-8.5.12-1\remote.phar(15): require_once('phar://C:/php-8...')
#7 {main}
thrown in phar://C:/php-8.5.12-1/remote.phar/vendor/composer/ca-bundle/src/CaBundle.php on line 189