전문 번역가, 번역 회사, 웹 페이지 및 자유롭게 사용할 수 있는 번역 저장소 등을 활용합니다.
what is your name
ano ang pangalan mo
마지막 업데이트: 2025-03-11
사용 빈도: 1
품질:
whats your name
ni jiao shenme ming zi
마지막 업데이트: 2020-08-29
사용 빈도: 1
품질:
추천인:
// fill in data for the distinguished name to be used in the cert // you must change the values of these keys to match your name and // company, or more precisely, the name and company of the person/site // that you are generating the certificate for. // for ssl certificates, the commonname is usually the domain name of // that will be using the certificate, but for s/mime certificates, // the commonname will be the name of the individual who will use the // certificate. $dn = array( "countryname" = "uk", "stateorprovincename" = "somerset", "localityname" = "glastonbury", "organizationname" = "the brain room limited", "organizationalunitname" = "php documentation team", "commonname" = "wez furlong", "emailaddress" = "wez@php.net"); // generate a new private (and public) key pair $privkey = openssl_pkey_new(); // generate a certificate signing request $csr = openssl_csr_new($dn, $privkey); // you will usually want to create a self-signed certificate at this // point until your ca fulfills your request. // this creates a self-signed cert that is valid for 365 days $sscert = openssl_csr_sign($csr, null, $privkey, 365); // now you will want to preserve your private key, csr and self-signed // cert so that they can be installed into your web server, mail server // or mail client (depending on the intended use of the certificate). // this example shows how to get those things into variables, but you // can also store them directly into files. // typically, you will send the csr on to your ca who will then issue // you with the "real" certificate. openssl_csr_export($csr, $csrout) and debug_zval_dump($csrout); openssl_x509_export($sscert, $certout) and debug_zval_dump($certout); openssl_pkey_export($privkey, $pkeyout, "mypassword") and debug_zval_dump($pkeyout); // show any errors that occurred here while (($e = openssl_error_string()) !== false) {echo $e. "\n";}
/ / fill in data for the distinguished name to be used in the cert / / you must change the values of these keys to match your name and / / company, or more precisely, the name and company of the person / site / / that you are generating the certificate for. / / for ssl certificates, the commonname is usually the domain name of / / that will be using the certificate, but for s / mime certificates, / / the commonname will be the name of the individual who will use the / / certificate. $dn = array( "countryname "= "uk", "stateorprovincename" = "somerset", "localityname "= "glastonbury", "organizationname" = "the brain room limited", "organizationalunitname "= "php documentation team", "commonname" = "wez furlong", "emailaddress "= "wez@php.net"); / / generate a new private (and public) key pair $privkey = openssl_pkey_new(); / / generate a certificate signing request $csr = openssl_csr_new($dn, $privkey); / / you will usually want to create a self-signed certificate at this / / point until your ca fulfills your request. / / this creates a self-signed cert that is valid for 365 days $sscert = openssl_csr_sign($csr, null, $privkey, 365); / / now you will want to preserve your private key, csr and self-signed / / cert so that they can be installed into your web server, mail server / / or mail client (depending on the intended use of the certificate). / / this example shows how to get those things into variables, but you / / can also store them directly into files. / / typically, you will send the csr on to your ca who will then issue / / you with the "real "certificate. openssl_csr_export($csr, $csrout) and debug_zval_dump($csrout); openssl_x509_export($sscert, $certout) and debug_zval_dump($certout); openssl_pkey_export($privkey, $pkeyout, "mypassword") and debug_zval_dump($pkeyout); / / show any errors that occurred here while (($e = openssl_error_string()) !== false) {echo $e. "\n";}
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
추천인:
경고: 보이지 않는 HTML 형식이 포함되어 있습니다