Cov txheej txheem:

PEM pass phrase yog dab tsi?
PEM pass phrase yog dab tsi?

Video: PEM pass phrase yog dab tsi?

Video: PEM pass phrase yog dab tsi?
Video: Yog ntuj tsis pab ntshe kuv tuag lawm 8/6/2018 2024, Hlis ntuj nqeg
Anonim

A lus zais yog lus sau lus uas tiv thaiv cov ntaub ntawv tseem ceeb. Nws tiv thaiv cov neeg siv tsis tau tso cai los ntawm encrypting lawv. Thawj zaug koj thov ib PEM pass - lus , koj yuav tsum nkag mus rau qhov qub hla - lus . Tom qab ntawd, koj yuav raug nug dua kom nkag mus rau a hla - lus - Lub sijhawm no, siv qhov tshiab hla - lus.

Tsis tas li ntawd, kuv yuav tshem PEM kab lus li cas?

Txhawm rau tshem tawm tus password tus lej ntiag tug ua raws li cov txheej txheem no:

  1. Luam cov ntaub ntawv tseem ceeb rau hauv koj cov npe OpenSSL (lossis koj tuaj yeem qhia txoj hauv kev hauv kab hais kom ua).
  2. Khiav cov lus txib no siv OpenSSL: openssl rsa -in [file1.key] -out [file2.key] Nkag mus rau lo lus zais thiab [file2. key] tam sim no yog tus yuam sij ntiag tug uas tsis muaj kev tiv thaiv.

Tsis tas li ntawd, kuv yuav ua li cas thiaj li tau txais kuv tus lej PFX? Extract. crt thiab. cov ntaub ntawv tseem ceeb los ntawm. pfx ua

  1. Pib OpenSSL los ntawm OpenSSLin nplaub tshev.
  2. Qhib cov lus txib kom sai thiab mus rau lub nplaub tshev uas muaj koj.
  3. Khiav cov lus txib hauv qab no kom rho tawm tus yuam sij ntiag tug: openssl pkcs12 -in [yourfile.pfx] -nocerts -out [drlive.key]

Ntawm no, tus yuam sij lossis lo lus zais yog dab tsi?

A lus zais zoo ib yam li tus password hauv kev siv, tab sis feem ntau ntev dua rau kev ruaj ntseg ntxiv. Cov kab lus feem ntau yog siv los tswj ob qho tib si nkag mus rau, thiab kev ua haujlwm ntawm, cryptographic cov kev pab cuam thiab cov tshuab, tshwj xeeb tshaj yog cov uas tau txais qhov encryption. tus yuam sij los ntawm a lus zais . Lub hauv paus chiv keeb ntawm lo lus yog los ntawm kev sib piv nrog tus password.

Dab tsi yog qhov nyuaj lo lus zais?

Cov " twv tus password " thov raws li ib feem ntawm CSR tiam, yog qhov txawv ntawm cov nqe lus uas siv los encrypt tus yuam sij zais cia (thov thaum lub sijhawm tseem ceeb, lossis thaum tus yuam sij plaintext tom qab encrypted - thiab tom qab ntawd thov dua txhua zaus SSL-enabled service uas siv nws pib).

Pom zoo: