UnderHost
Knowledgebase Docs

CSR validation-verify certificate request details

Validate CSR before submission to Certificate Authority. Check domain, organization, and cryptographic parameters.

On this page

A Certificate Signing Request (CSR) is a cryptographic request sent to a Certificate Authority (CA) to issue an SSL/TLS certificate for your domain. Validating your CSR before submission ensures it contains correct information, preventing costly delays or certificate reissuance.

Why validate before submission?

Submitting a flawed CSR causes problems:

  • Wrong domain name: CA issues certificate for wrong domain; you must reissue
  • Weak key size: CA rejects request; wastes time
  • Incorrect organization: CA delays validation or rejects; customer loses trust
  • Invalid characters: CN (Common Name) with special characters may fail
  • Wasted money: Many CAs charge per reissuance; mistakes cost extra
  • Service downtime: Fixing wrong certificate takes days, during which service is insecure

5 minutes of validation saves hours of troubleshooting.

Decode and inspect CSR

Use OpenSSL to examine your CSR file before submission:

openssl req -in certificate.csr -text -noout

# Output shows:
# - Certificate Request:
#   - Data:
#     - Version: 0 (0x0)
#     - Subject: C=US, ST=State, L=City, O=Organization, CN=yourdomain.com
#     - Public Key Algorithm: rsaEncryption
#     - Public-Key: (2048 bit)

Web-based CSR decoder: If you prefer not to use command line, use an online CSR decoder like SSL.com's CSR Decoder or Entrust CSR Decoder. Paste your CSR content and see decoded information.

Critical fields to check

FieldWhat to checkImpact if wrong
CN (Common Name)Should be your primary domain (e.g., yourdomain.com or www.yourdomain.com)Certificate won't match domain; browser warnings
Key sizeShould be 2048-bit (minimum) or 4096-bit (stronger)CA rejects if too small (512 or 1024 bits)
Country (C)Two-letter country code (US, CA, GB, etc.)CA validation may be delayed
State (ST)State or province (California, Ontario, etc.)Domain Control Validation (DCV) may fail if CA can't verify
Organization (O)Your legal company nameCA sends validation to organization; wrong name causes delays
Signature AlgorithmShould be sha256WithRSAEncryption (not sha1)CA may reject if using deprecated hash algorithm

Common CSR problems

  • ❌ Wrong domain: CSR says "example.com" but should be "yourdomain.com" → Certificate useless
  • ❌ Missing domain: CSR only has CN=yourdomain.com but doesn't include wildcard (*.yourdomain.com) or alternate domains
  • ❌ Key too small: 512 or 1024-bit key → Modern CAs reject as insecure
  • ❌ Invalid characters: CN contains special characters or diacritics → CA may reject
  • ❌ Wrong algorithm: Using md5 or sha1 hash → Deprecated, CA rejects
  • ❌ Malformed CSR: File is corrupted or not properly Base64-encoded → CA system can't read it

CSR validation tools

Use these tools to validate CSR before sending to CA:

  • OpenSSL command line: openssl req -in certificate.csr -text -noout (free, powerful)
  • cPanel SSL/TLS Manager: Many CSR viewers built-in
  • Online CSR decoders: SSL.com, CryptoTools, Entrust
  • Certificate validator: Use a CA's own validator (most CAs have one on their website)

What if you submit a wrong CSR?

If you realize AFTER submission that CSR was wrong:

  1. Contact CA immediately: Most CAs allow CSR resubmission before domain validation is complete
  2. Request revalidation: Ask CA to process a new CSR
  3. Timeline: Revalidation usually takes 24-72 hours
  4. Cost: Some CAs reissue for free if within grace period; others charge a fee

If CA already issued wrong certificate: You must purchase a reissue or use a different domain. Most CAs include 1-3 free reissues per year; check your certificate terms.

Best practices

  1. Use cPanel SSL/TLS Manager: Generate CSR through cPanel; it handles validation automatically
  2. Always decode before submitting: Takes 2 minutes, saves hours
  3. Check key size: Use at least 2048-bit RSA (4096-bit recommended for high-security)
  4. Validate organization name: Match what CA will receive during validation
  5. Include all domains: If issuing wildcard or multi-domain cert, include all SANs (Subject Alternative Names)
  6. Keep CSR and private key secure: Only you and the CA should have access
  7. Keep records: Save CSR file for troubleshooting later
CSR validation takes minutes, saves days

Validating CSR content before submission is the single best way to prevent certificate delays and errors. Make it a habit for every SSL request.

Related: Generate a CSR | Certificate errors | Install SSL certificate

Was this article helpful?

Need security-focused hosting?

UnderHost services include DDoS-aware infrastructure, SSL support, account isolation, backups, and security guidance.

Related articles

Back to Security