PHP Classes

PHP CACERT Self-Signed Certificate: Generate self-signed digital certificates

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (9 months ago) RSS 2.0 feedStarStarStar 46%Total: 716 All time: 4,623 This week: 59Up
Version License PHP version Categories
cacert 1.10GNU General Publi...5.3PHP 5, Cryptography, Security
Description 

Author

This class can generate self-signed digital certificates.

First the class generates the certification authority certificate with given certificate details.

Then it can generate other certificates and sign them with the key of the previously generated certification authority certificate.

The class may also retrieve the public key of a given certificate.

Innovation Award
PHP Programming Innovation award winner
March 2015
Winner


Prize: PhpStorm IDE personal permanent license
Certification authorities are organizations that can verify the validity of digital certificates for use in secure connections based on SSL/TLS.

This class can create self-signed certificates to let your organization act as if it is a real certificate authority, as well generate and sign other certifications for other domains.

Manuel Lemos
Picture of Vladimir Zurita
Name: Vladimir Zurita <contact>
Classes: 3 packages by
Country: Chile Chile
Age: 50
All time rank: 20878 in Chile Chile
Week rank: 206 Up2 in Chile Chile Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Documentation

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

  Files folder image Files (5)  
File Role Description
Plain text file Cacert.php Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file VERSION Data Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:716
This week:0
All time:4,623
This week:59Up
User Ratings User Comments (2)
 All time
Utility:70%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:45%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3257
 
why not.
2 years ago (pataskun)
35%StarStar
-
2 years ago (pataskun)
35%StarStar