Kelunik\Acme\CSR\OpenSSLCSRGenerator class OpenSSLCSRGenerator implements Kelunik\Acme\CSR\CSRGenerator

Allows generating certificate signing requests using OpenSSL.

Summary

Properties

Methods

Properties

Methods

__construct — public function __construct(array $options = [])

OpenSSLCSRGenerator constructor.

Type Parameter Description Default Value
array $options CSR options, currently only "must_staple" = true | false is supported []
generate — public function generate(Kelunik\Acme\CSR\KeyPair $keyPair, array $domains): Kelunik\Acme\CSR\Promise

Generates a CSR for the given DNS names.

Type Parameter Description Default Value
Kelunik\Acme\CSR\KeyPair $keyPair domain key pair none
array $domains list of domain names none