GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
cert.php File Reference

Variables

 $req_key = openssl_pkey_new()
 $dn
 $success2 = openssl_pkey_export( $req_key, $out_key )
 $req_csr = openssl_csr_new( $dn, $req_key )
 $ca_cert = "file:///home/terop/meshpage.org.cacert"
 $private_key = "file:///home/terop/meshpage.org.privkey"
 $client_cert = openssl_csr_sign( $req_csr, $ca_cert, $private_key, 30, null, 0)
 $certout = ""
 $success = openssl_x509_export( $client_cert, $certout )
 $outfile = ""
 header (' )

Variable Documentation

◆ $ca_cert

$ca_cert = "file:///home/terop/meshpage.org.cacert"

◆ $certout

$certout = ""

◆ $client_cert

$client_cert = openssl_csr_sign( $req_csr, $ca_cert, $private_key, 30, null, 0)

◆ $dn

$dn
Initial value:
= array(
"countryName" => "FI",
"stateOrProvinceName" => "Tampere",
"organisationName" => "meshpage.org"
)

◆ $outfile

$outfile = ""

◆ $private_key

$private_key = "file:///home/terop/meshpage.org.privkey"

◆ $req_csr

$req_csr = openssl_csr_new( $dn, $req_key )

◆ $req_key

$req_key = openssl_pkey_new()

◆ $success

$success = openssl_x509_export( $client_cert, $certout )

◆ $success2

$success2 = openssl_pkey_export( $req_key, $out_key )

◆ header

header(' )