I
I
Igor Prokofiev2019-07-16 12:56:35
Web servers
Igor Prokofiev, 2019-07-16 12:56:35

Let's encrypt on a live system and a webserver in a Snap?

Good afternoon.
The thing is - I installed a snap-package with Rocketchat on Ubuntu 18.04, set everything up, forwarded the ports, got the domain name fixed, registered the DNS.
The problem is getting an SSL certificate, I can't pass the verification, because Rocketchat is spinning in a snap package and certbot can't create a .well-known folder to verify the owner.
How can this problem be solved? Maybe install certbot in the package and run from there?
Help me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Rassypnov, 2019-07-17
@kreksoverzum

Use verification not through a file, but through DNS. This is longer than the file, but not in your case.
You get something like certbot -d domain.com --manual --preferred-challenges dns
https://certbot.eff.org/docs/using.html#certbot-co...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question