Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.7k views
in Technique[技术] by (71.8m points)

server - setting up teleport - Configure Domain Name and obtain TLS certificates using Let's Encrypt

ok so what I want to do is set up teleport on a remote machine so i can access it over the internet. I am following the tutorial but I am no expert on any of this stuff. i try to copy paste the commands from here:

https://goteleport.com/teleport/docs/quickstart/

section 1c:

certbot certonly 
  --manual 
  --preferred-challenges=dns 
  --agree-tos 
  --manual-public-ip-logging-ok 
  --email [email protected] 
  -d "teleport.example.com, *.teleport.example.com"

i changed the email and domain name, as it says in the tutorial, but the it asks me to :

Please deploy a DNS TXT record under the name
_acme-challenge.teleport.example.com with the following value:

XXXX

how am i supposed to change that? and where?

thank you!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

When choosing --preferred-challenges certbot will ask you to confirm you own the domain by placing a TXT record. You can do that if you own the domain and you can access the configuration.

You want to create your own domain (check Freenom to obtain one at no cost) which you have full control on and you can add the TXT record.

Here is a reference to Create DNS records at Freenom for Microsoft


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.7k users

...