PHP Classes

Crypt_OpenSSL: Class created for manipulation with ssl certs.

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 1,908 All time: 2,063 This week: 96Up
Version License PHP version Categories
crypt_openssl 0.0.2BSD License5.01PHP 5, Cryptography


This class can be used to manipulate encrypted data with certificates.

It uses the OpenSSL library to perform several types of operations like:

- Encrypt and decrypt data with public and private keys
- Create and sign a new certificate
- Retrieve information from a certificate
- Check whether a certificate corresponds to a private key
- Validate the purpose of use of a certificate

Innovation Award
PHP Programming Innovation award nominee
April 2008
Number 2
Some types of applications need to issue SSL certificates to let users access Web resources securely.

Usually it is necessary to use a separate program to be able to create SSL certificates with PHP. However, this class makes it possible to create SSL certificates directly from PHP, as long as the OpenSSL extension is available.

Manuel Lemos
Picture of Pavel Saparov
Name: Pavel Saparov <contact>
Classes: 1 package by
Country: Czech Republic Czech Republic
Age: ???
All time rank: 154915 in Czech Republic Czech Republic
Week rank: 402 Up1 in Czech Republic Czech Republic Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagecerts (2 files)
Files folder imageOpenSSL (3 files)
Accessible without login Plain text file example-new-cert.php Example Creating a new X509 certificate
Accessible without login Plain text file example-usage.php Example Basic usage example
Plain text file OpenSSL.php Class OpenSSL main class handler

  Files folder image Files  /  certs  
File Role Description
  Accessible without login Plain text file cacert.pem Data CA example cert
  Accessible without login Plain text file cakey.pem Data CA example key file

  Files folder image Files  /  OpenSSL  
File Role Description
  Plain text file Cert.php Class OpenSSL cert class
  Plain text file Exception.php Class OpenSSL cert class exception
  Plain text file NewCert.php Class OpenSSL new cert class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,063
This week:96Up
User Ratings User Comments (1)
 All time
doesn't work.
15 years ago (Kai)