zerossl/cli-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zerossl/cli-client

Composer 安装命令:

composer require zerossl/cli-client

包简介

Create certificates and CSRs locally and easy in the CLI using newest PHP OpenSSL features and ZeroSSL for signing.

README 文档

README

Get signed and valid SSL certificates, create CSRs and the corresponding private keys directly from the command line in usually less than a minute. Easy, secure, fast.

Beta notice

This software is in an early beta stage, feedback is being gathered. Although most things should work there might be unexpected errors or problems. Please report any bugs you may encounter or even better create an MR to fix them.

Use cases

  • Downloader: Download ZeroSSL certificates and convert them to any required format (e.g. .der, .pem, .p12, .pfx)
  • Generator: Automate the creation of a huge amount of certificates with the ZeroSSL API (can be used as a library / standalone toolkit)
  • Generator: Everything except for certificate creation and domain validation will happen in your local system
  • Generator: Can be used as a free tool for CSR creation
  • Generator: Can be used as a free tool for self-signed certificate creation

How to get an API key for creating valid SSL certificates signed by ZeroSSL

  1. Go to: https://zerossl.com/
  2. Create a free account
  3. Within your dashboard navigate to developer and get your API key
  4. Now you can create valid SSL certificates with ZeroSSL

Requirements

Components

  • Generator: Get a signed SSL certificate in the command line from scratch in less than a minute
  • Downloader: Download ZeroSSL certificates in any format which might be required
  • CSR Tool: Advanced tool for CSR generation (under construction)
  • Certificate Converter: Certificate format conversion tool (under construction)

Errors

The script will display native PHP errors with the stack trace in case something goes wrong. In order to understand what is not working check the first line of the error output. Most likely you will have a ConfigurationException, which means you have to adjust your input.

Usage as a library

Note: This is not yet completely ready, be free to make MRs for improvement.

Including in custom PHP scripts

Create an options object: $options = new ZeroSSL\CliClient\Dto\Options()

Run: $certificateData = RequestProcessor::generate($options,true);

Have a look at the RequestProcessor objects for the functions you need to achieve what you actually want.

统计信息

  • 总下载量: 12.78k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-05-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固