Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.9k 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 Answer

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...