【发布时间】:2020-09-04 10:01:27
【问题描述】:
我正在使用 plesk 运行服务器,并试图找到由letsencrypt 生成的.key 和.crt 文件。
我在 Ubuntu 服务器上运行 plesk,并且已经尝试过 .pem 文件,但我的网络套接字不接受这些。
有人知道这些文件的位置/文件路径吗?
键的路径
/usr/local/psa/var/modules/letsencrypt/etc/live/mydomain.com/fullchain.pem
/usr/local/psa/var/modules/letsencrypt/etc/live/mydomain.com/privkey.pem
网络套接字
/*
* Path to local certificate file on filesystem. It must be a PEM encoded file which
* contains your certificate and private key. It can optionally contain the
* certificate chain of issuers. The private key also may be contained
* in a separate file specified by local_pk.
*/
'local_cert' => env('LOCAL_CERT'),
//'local_cert' => null,
/*
* Path to local private key file on filesystem in case of separate files for
* certificate (local_cert) and private key.
*/
'local_pk' => env('LOCAL_PK'),
//'local_cert' => null,
/*
* Passphrase for your local_cert file.
*/
'passphrase' => env('PASSPHRASE', null),
'verify_peer' => false,
],
广播
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => 'eu',
'host' => env('PUSHER_APP_HOST'),
'port' => env('PUSHER_APP_PORT'),
'scheme' => 'https',
//'useTLS' => true,
//'encrypted' => true,
'curl_options' => [
CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => 0,
]
],
],
【问题讨论】: