OPENSSL_X509_EXPORT_TO_FILE(3) 1 OPENSSL_X509_EXPORT_TO_FILE(3)
openssl_x509_export_to_file - Exports a certificate to file
SYNOPSIS
bool openssl_x509_export_to_file TRUE (mixed $x509, string $outfilename, [bool $notext])
DESCRIPTION
openssl_x509_export_to_file(3) stores $x509 into a file named by $outfilename in a PEM encoded format.
PARAMETERS
o $x509
- See Key/Certificate parameters for a list of valid values.
o $outfilename
- Path to the output file.
o $notext
- The optional parameter $notext affects the verbosity of the output; if it is FALSE, then additional human-readable information
is included in the output. The default value of $notext is TRUE.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
PHP Documentation Group OPENSSL_X509_EXPORT_TO_FILE(3)