openssl_x509_export_to_file

Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Exports a certificate to file
openssl_x509_export_to_file(OpenSSLCertificate|string $certificatestring $output_filenamebool $no_text true): bool