Cov txheej txheem:

Yuav rho tus yuam sij ntiag tug ntawm PEM li cas?
Yuav rho tus yuam sij ntiag tug ntawm PEM li cas?

Video: Yuav rho tus yuam sij ntiag tug ntawm PEM li cas?

Video: Yuav rho tus yuam sij ntiag tug ntawm PEM li cas?
Video: Nas Ej Maiv Thoj Yuav Txiv Lawm Tiag Tiag 20/8/2021 2024, Hlis ntuj nqeg
Anonim

509) cov ntaub ntawv rau Apache server

  1. Rau rho tawm tus tus yuam sij ntiag tug , khiav OpenSSL hais kom ua: openssl pkcs12 -in.pfx -nocerts -out tus yuam sij . pem .
  2. Rau rho tawm daim ntawv pov thawj (public tus yuam sij ), run cov OpenSSL hais kom ua: openssl pkcs12 -in.pfx -clcerts -nokeys -out cert. pem .

Ua li no, PEM puas muaj tus yuam sij ntiag tug?

2 Teb. A PEM cov ntaub ntawv muaj muaj tsuas yog hais txog dab tsi suav nrog a pej xeem key , a tus yuam sij ntiag tug , los yog ob qho tib si, vim a PEM ntaub ntawv yog tsis yog tus qauv. Hauv cov nyhuv PEM tsuas yog txhais tau tias cov ntaub ntawv muaj base64-encoded me ntsis ntawm cov ntaub ntawv.

Ib sab saum toj no, kuv yuav rho tawm cov ntaub ntawv. PEM li cas? Txhawm rau rho tawm daim ntawv pov thawj, siv cov lus txib no, qhov twg cer yog cov ntaub ntawv npe uas koj xav siv:

  1. openssl pkcs12 -in store.p12 -out cer.pem. Qhov no rho tawm daim ntawv pov thawj hauv a. pem format.
  2. openssl x509 -outform der -in cer.pem -out cer.der. Qhov no formats daim ntawv pov thawj nyob rau hauv ib tug. ua format.

Yog li, ua li cas koj thiaj li tau txais tus yuam sij ntiag tug los ntawm daim ntawv pov thawj?

In WHM cov yuam sij ntiag tug tau khaws cia nrog rau cov CSRs sib raug thiab daim ntawv pov thawj hauv "SSL Storage manager". Rau tau nyob ntawd, koj tuaj yeem nyem "SSL / TLS" ntawm lub vijtsam hauv tsev thiab tom qab ntawd ntawm "SSL Storage manager". Qhib lub tus yuam sij ntiag tug ntawv nyeem, koj yuav tsum tau nyem rau ntawm lub khawm magnifier hauv thawj kab hu ua " Ntsiab ”.

PEM puas yog tus yuam sij ntiag tug?

PEM lossis Privacy Enhanced Mail yog Base64 encoded DER daim ntawv pov thawj . PEM daim ntawv pov thawj feem ntau siv rau lub vev xaib servers vim lawv tuaj yeem muab txhais ua cov ntaub ntawv nyeem tau yooj yim siv cov ntawv nyeem yooj yim. ----- IB RSA PRIVATE THAWJ ----- thiab ----- END RSA PRIVATE THAWJ ------ show ib tus yuam sij ntiag tug hauv PEM hom ntawv.

Pom zoo: