vladzur / cacert
Simple CACERT
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/vladzur/cacert
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2020-04-17 17:01:35 UTC
README
(Project abandoned) Cacert is used to generate self-signed certificates.
You can generate the certificate of the certification authority and generate new certificates with that signature
Usage
<?php
require_once 'Cacert.php';
$CA = new \Vladzur\Cacert\Cacert();
print_r($CA->generateCACERT()); //CA Certificate
$params = array(
'commonName' => 'Vladimir Zurita',
'emailAddress' => 'vladzur@gmail.com',
'organizationName' => 'Lemontech',
'organizationalUnitName' => 'Developers'
);
print_r($CA->generateCert($params)); //USer Certificate