openssl_csr_export_to_file
(PHP 4 >= 4.2.0, PHP 5)
openssl_csr_export_to_file — Exports a CSR to a file
설명
bool openssl_csr_export_to_file
( resource $csr
, string $outfilename
[, bool $notext= true
] )
openssl_csr_export_to_file() takes the Certificate Signing Request represented by csr and saves it as ascii-armoured text into the file named by outfilename .
인수
- csr
-
- outfilename
-
Path to the output file.
- notext
-
선택 인수 notext 는 출력 정밀도에 영향을 미칩니다; FALSE이면 추가적인 정보가 출력에 포함됩니다. notext 의 기본값은 TRUE입니다.
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.
참고
- openssl_csr_export() - Exports a CSR as a string
- openssl_csr_new() - Generates a CSR
- openssl_csr_sign() - Sign a CSR with another certificate (or itself) and generate a certificate
openssl_csr_export_to_file
There are no user contributed notes for this page.
