sam002/yii2-acme
Composer 安装命令:
composer require sam002/yii2-acme
包简介
YII2 extension for certificate management using ACME (Automatic Certificate Management Environment)
README 文档
README
YII2 extension for certificate management using ACME (Automatic Certificate Management Environment)
Installation
The preferred way to install this extension is through composer.
Either run
composer require sam002/yii2-acme:~0.1.2
or add
"sam002/yii2-acme" : "~0.1.2"
to the require section of your application's composer.json file.
Usage
After extension is installed you need to setup auth client collection application component:
Configure
Frontend (need to checked by certificate provider)
... 'module' => [ //Catch all requests on .well-known '.well-known' => [ 'class' => 'sam002\acme\Acme', //optional 'location' => realpath('../runtime/acme'), 'providerUrl' => Acme::PROVIDERS['letsencrypt:production'] 'keyLength' => 2048, 'keyStorage' => 'sam002\acme\storage\file\KeyStorageFile', 'certificateStorage' => 'sam002\acme\storage\file\CertificateStorageFile' 'challengeStorage' => 'sam002\acme\storage\file\ChallengeStorageFile' ], ... ]
Console task
... 'controllerMap' => [ 'acme' => [ 'class' => 'sam002\acme\console\AcmeController' ], ... ]
Further Information
Credits
License
The LGPLv3 License. Please see License File for more information.
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2016-04-18