文件 .pem 权限被拒绝

文件 .pem 权限被拒绝

我从我的合作伙伴那里收到了一个 pfx 文件,我将其转换为 pem 以供 API 使用

想法是我不知道把ubuntu服务器放在哪里以及如何访问woocomerce上的插件

我的日志是这样的

#Next GuzzleHttp\Exception\RequestException: cURL error 58: could not load PEM client certificate, OpenSSL error error:0200100D:system library:fopen:Permission denied, (no key found, wrong pass phrase, or wrong file format?) in /var/www/html/magazin/wp-content/plugins/wc-moldovaagroindbank/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:51
Stack trace
0 /var/www/html/magazin/wp-content/plugins/wc-moldovaagroindbank/vendor/guzzlehttp/guzzle/src/RequestFsm.php(103): GuzzleHttp\Exception\RequestException::wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\RingException))
/var/www/html/magazin/wp-content/plugins/wc-moldovaagroindbank/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
/var/www/html/magazin/wp-content/plugins/wc-moldovaagroindbank/vendor/react/promise/src/FulfilledPromise.php(25): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)
/var/www/html/magazin/wp-content/plugins/wc-moldovaagroindbank/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
/var/www/html/magazin/wp-content/plugins/wc-moldovaagroindbank/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
/var/www/html/magazin/wp-content/plugins/wc-moldovaagroindbank/vendor/guzzlehttp/guzzle/src/RequestFsm.php(134): GuzzleHttp\Message\FutureResponse::proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))

答案1

我无法评论,所以我需要回答。

我认为有 3 点可能失败:

  1. 文件未找到
  2. 文件权限
  3. 加密密钥(密码错误)

相关内容