openssl_csr_export_to_file

(PHP 4 >= 4.2.0)

openssl_csr_export_to_file -- Exports a CSR to a file

Description

bool openssl_csr_export_to_file ( resource csr, string outfilename [, bool notext])

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

openssl_csr_export_to_file() takes the CSR represented by csr and saves it into the file named by outfilename. The optional notext affects the verbosity of the output; if it is FALSE then additional human-readable information is included in the output.