I need to add an SSL certificate verify my domain using HTTP File Upload but when I want to verify it with the following steps:

1 - Download your Auth File using the following link: Download Auth File
2 - Upload the Auth File to your HTTP server under: /.well-known/pki-validation/
3 - Make sure your file is available under the following link: http://ip_server_address/.well-known/pki-validation/F0DFDB385C2AA2AEA06TG64F7A0D71833.txt

I don’t know where is the folder where I have to upload the .txt file?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @esyassine,

You’ll need to create that folder in your website’s root directory. Basically where your website’s folder is. Usually, it’s located in /var/www/domain.com where domain.com is your actual domain.

In the folder, you create two additional folders: .well-know and in it pki-validation. In the folders, you should be able to add the said .txt authentication file.

If the path to your webroot is not /var/www/domain.com, you’ll need to check it from your WebService’s configuration file. To check which Webservice you are running (Apache/Nginx). SSH to your droplet and run the following command

netstat -tulpen | grep 80

If you see Nginx in the output, then you should search for the configuration file in /etc/nginx. If it’s Apache2 that you see, you can search for your domain’s configuration file in /etc/apache2/.