KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/share/doc/m2crypto-0.16/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/m2crypto-0.16/tests/README
This directory contains unit tests for M2Crypto.

You must first install M2Crypto, then cd into this directory, and 
run the tests.

Invoke 'alltests.py' to execute all tests. Each test can also be run
individually.

Look also in the demo directory for other samples.


To create new test certificates:

mkdir certs
cd certs

Making the CA. You may want to use a locally edited openssl.cnf to
make sure that X509v3 Basic Constraints CA:TRUE gets set (by default
it will be false).

CA.sh -newca
cp demoCA/cacert.pem ../ca.pem

Making the server certificate and private key. make sure commonName
field is localhost.

CA.sh -newreq
CA.sh -sign
cp newcert.pem ../server.pem
openssl rsa <newkey.pem >>server.pem

Making the x509 certificate and key.

CA.sh -newreq
CA.sh -sign
cp newcert.pem ../x509.pem
openssl rsa <newkey.pem >>x509.pem

Making the signer certificate. Make sure the email address is 
signer@example.com.

CA.sh -newreq
CA.sh -sign
cp newcert.pem ../signer.pem
openssl rsa <newkey.pem >signer_key.pem

Making the recipient certificate. Make sure the email address is 
recipient@example.com.

CA.sh -newreq
CA.sh -sign
cp newcert.pem ../recipient.pem
openssl rsa <newkey.pem >recipient_key.pem

Anon7 - 2021