openssl_csr_export_to_file
(PHP 4 >= 4.2.0, PHP 5)
openssl_csr_export_to_file — CSR をファイルにエクスポートする
説明
bool openssl_csr_export_to_file
( resource $csr
, string $outfilename
[, bool $notext = true
] )
openssl_csr_export_to_file() は、Certificate Signing Request csr を受け取り、 それを outfilename という名前のファイルに ASCII テキストとして保存します。
パラメータ
- csr
-
- outfilename
-
出力ファイルへのパス。
- notext
-
オプションのパラメータ notext を設定すると、出力内容の冗長性が変化します。FALSE を指定すると、 人間が読むための追加情報が出力に含まれるようになります。 notext のデフォルト値は TRUE です。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
参考
- openssl_csr_export() - CSR を文字列としてエクスポートする
- openssl_csr_new() - CSR を作成する
- openssl_csr_sign() - 他の CERT(あるいは自分自身)で証明書をサインする
openssl_csr_export_to_file
There are no user contributed notes for this page.
