PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Vladimir Zurita   PHP CACERT Self-Signed Certificate   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP CACERT Self-Signed Certificate
Generate self-signed digital certificates
Author: By
Last change: Update of README.md
Date: 2 months ago
Size: 612 bytes
 

Contents

Class file image Download

Cacert

(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