Jump to content
aelius

Generare CSR (Certificate signing request)

Recommended Posts

Posted (edited)

CSR (Certificate signing request) este un certificat generat de un utilizator care este trimis unei companii ce furnizeaza certificate SSL. In acest scurt tutorial o sa va arat cum puteti genera corect acest certificat.

Generam un key pentru site-ul web. Marimea standarda folosita este de 2048 bits.


shell ~ # openssl genrsa -des3 -out rstcenter.key 2048

Generam Certificat de request (CSR). Certificatul .csr il furnizam la compania care ne elibereaza certificatul SSL


shell ~ # openssl req -new -key rstcenter.key -out rstcenter.csr

Generam o versiune neprotejata cu parola pentru certificat. In caz contrar, apache va cere parola la start / restart


shell ~ # openssl rsa -in rstcenter.key -out rstcenter.key.insecure

Pastram fisierul protejat de parola in continuare


shell ~ # mv rstcenter.key rstcenter.key.secure

Mutam / Redenumim key-ul neprotejat in fisierul de baza


shell ~ # mv rstcenter.key.insecure rstcenter.key

Nota: Recomand sa dati chmod 640 pe certificatele SSL.

Edited by aelius

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...