Certbot fails during installation (install.sh) #209
Unanswered
isential-gmbh
asked this question in
Q&A
Replies: 3 comments 5 replies
-
|
@dinger1986 could you help on this? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Since your dns on another server, I think you should answer |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
#1 You need to have a /snap snap symlink. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am installing RustDesk on a current Ubuntu server. I am referring to this server as the RustDesk server. There are no domains set up on this server; I only have a static IP address.
On another server, I have set up a DNS forwarding (A record) pointing to the IP address of the RustDesk server:
rustdesk.example.com = IP address of the RustDesk server
I am performing the installation using the following command:
bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)
During the installation, I select "DNS = Setup Rustdesk with TLS and your own domain" and specify the address as rustdesk.example.com.
When prompted with:
"Do you want to install Certbot with snap?"
I answer “Yes”.
However, I receive the following error message:
"Sorry, the TLS certificate for rustdesk.example.com failed to generate!
Please check that port 80/443 are correctly port forwarded, and that the DNS record points to this server's IP."
In the file /etc/ufw/applications.d/rustdesk-server, I have the following content:
[RustDesk]
title=RustDesk Remote Desktop
description=Remote Desktop application
ports=80,443/tcp
Additionally, I have activated the firewall rule:
ufw allow RustDesk
and executed the following commands:
ufw allow 21115:21119/tcp
ufw allow 8000/tcp
ufw allow 21116/udp
sudo ufw enable
How do I properly install the certificate for "rustdesk.example.com" with Certbot?
Beta Was this translation helpful? Give feedback.
All reactions