Home/Article
Esadax JournalFAQ

Completing HTTP-Based SSL Validation Using the Validation File Upload

To complete domain control validation (DCV) for your SSL certificate, follow these organized steps: 1. Create the Validation File: * Use a text editor like Nano to create the file AN2D4C5H7F01823KRIDHJ.txt. * Open

To complete domain control validation (DCV) for your SSL certificate, follow these organized steps:

  1. Create the Validation File:
    • Use a text editor like Nano to create the file AN2D4C5H7F01823KRIDHJ.txt.
    • Open Nano with Ctrl + O, paste the content, and save using Ctrl + X.
  2. Place the File on Your Server:
    • Ensure the directory /Library/WebServer/Documents/.well-known/pki-validation/ exists.
    • Use the command mkdir -p /Library/WebServer/Documents/.well-known/pki-validation/ to create necessary directories if they don't exist.
  3. Set Permissions and Ownership:
    • Set file permissions using chmod 644 /path/to/file.
    • Ensure ownership is set to your user ID using chown username:group /path/to/file.
  4. Upload the File:
    • Use SCP: scp AN2D4C5H7F01823KRIDHJ.txt username@hostname.tld:/Library/WebServer/Documents/.well-known/pki-validation/.
    • Alternatively, use FTP or SFTP to transfer the file.
  5. Verify Web Server Configuration:
    • Ensure your web server can serve files from the .well-known directory.
    • Restart or reload your web server if necessary.
  6. Test DCV File Accessibility:
    • Access a page like https://example.com/.well-known/pki-validation/AN2D4C5H7F01823KRIDHJ.txt to ensure the file is accessible.
  7. Monitor Validation Status:
    • Check the CA's status page for validation progress.
    • Consider setting up a cron job or script to monitor and update the status periodically.
  8. Consider Additional Requirements:
    • Ensure the filename matches exactly what your CA expects.
    • Verify that the file content meets specific formatting or metadata requirements of the CA.
    • Check if any headers, like Link: <file>; rel=validation-data, are needed on your site.
  9. Follow Up with CA:
    • If validation is delayed, contact the CA for updates or assistance.
Subscribe