Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 7|回復: 0

What is a .well-known folder and how to create it?

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 2024-11-7 18:42:53 | 顯示全部樓層 |閱讀模式
This quick guide answers one of the most common questions during a Domain Control Validation (DCV): What is a .well-known folder? You'll also learn how to create a .well-known folder on your server and why you need one in the first place.

Table of contents

What is the .well-known folder?
What should be placed in the .well-known directory?
How to create .well-know folder?
What is the .well-known folder?
In the ~/public directory on your server, you can find a .well-known folder . Well-known URIs are uniform resource identifiers for known services or information that are consistently available on all servers at a URL.

Some servers create the .well-known folder automatically, but sometimes you may need to add it manually. This directory acts as a web protocol to retrieve site metadata about the host before making a request.

What is the .well-known folder used for?
When ordering an SSL certificate, you must verify mobile app development service domain ownership as part of the DCV. If you choose the HTTP/HTTPS method , you will need to create a .well-known directory - a folder where you must upload a TEXT file so that the CA can verify and approve your SSL request.

The file must be accessible via a live link on the site. Once you add the verification file, the CA crawler system will scan your site and look for this file. Once it finds it, you will pass the domain verification within a few minutes.

What should be placed in the .well-known directory?
To verify that you own a domain name using the HTTP method, you need to upload a TXT file to a location on your site and server that looks like this:




As you can see from the URL path, you should place the file in the .well-known folder and the pki-validation subfolder of the document root directory for the domain name.

You can download the verification file after you select the HTTP method when ordering your SSL certificate. The hash file name is a string of random characters. You must download it as received from the CA, without changing its name or content.

How to create .well-know folder?
To create a known folder, you will need access to your server via an SFTP client, hosting control panel, or any other suitable method.
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|GameHost抗攻擊論壇

GMT+8, 2025-4-10 08:40 , Processed in 0.785849 second(s), 28 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |