acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
38.67k stars 4.91k forks source link

How to manual domain authentication? #428

Open hason opened 7 years ago

hason commented 7 years ago

I want to use https for gitlab pages. It is necessary to add markdown page to a repository e.g.:

---
layout: null
permalink: /.well-known/acme-challenge/5TBu788fW0tQ5EOwZMdu1Gv3e9C33gxjV58hVtWTbDM.html
---

5TBu788fW0tQ5EOwZMdu1Gv3e9C33gxjV58hVtWTbDM.ewlbSYgvIxVOqiP1lD2zeDKWBGEZMRfO_4kJyLRP_4U

How can I obtain content of this file?

See: https://about.gitlab.com/2016/04/11/tutorial-securing-your-gitlab-pages-with-tls-and-letsencrypt/

Neilpang commented 7 years ago

@hason

I'm afraid we don't support this manual mode for now.

Please use dns manual mode instead.

If you dns provider suport api access, you can also use dns api mode.

ghost commented 7 years ago

It is a kind of http-01 auth.