CSR and private keys: what to create, share and protect
Understand the difference between a CSR, certificate and private key. Prepare certificate requests and agree a secure installation and handover process.
Many installation delays begin when the buyer, developer and hosting administrator each assume someone else retained the private key. Decide who creates the key, where it is stored and who installs the issued certificate before submitting the request.
This guide concerns ordinary website TLS requests. Code signing, managed cloud services and hardware-backed systems can require different key generation and storage workflows. Follow the platform and issuer requirements for that certificate type.
In this guide
A practical checklist
Choose the key’s owner and storage location
Prepare the exact certificate names
Generate and inspect the CSR
Complete validation and receive the certificate
Verify the match and complete handover
Common problems and decisions
The private key is lost
A key was exposed
An installer asks for a PFX file
Prepare for the next conversation
A practical handover record should identify the domain list, CSR creator, key custodian, hosting environment, issuer/order reference and renewal owner. For an agency-managed Bangladesh website, make sure the business retains an authorized recovery route if the developer changes. Record access responsibilities without copying passwords into the handover document.
Continue with the right guide or service
Common questions
Is a CSR the same as a certificate?
No. A CSR is a request containing a public key and proposed information. An issued certificate is signed by the certificate authority after the relevant checks.
Can the certificate authority give me my private key?
Not when you generated and retained it yourself. The normal CSR process does not transmit that key to the authority.
Is it safe to share a certificate file?
A public certificate is designed to be presented to clients. Check the file contents first: a combined PEM or PFX may also include private key material.
Can I reuse the same key forever?
Do not assume that is an acceptable policy. Follow platform, issuer and organizational key-management requirements, and replace exposed or unsuitable keys.