How can I secure connection to nextcloud?

Guides and tutorials for various stuff. Posted by DietPi users.
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

[FAILURE] Certbot failed with error code (1), please check its terminal output. Aborting...
User avatar
Joulinar
Posts: 2279
Joined: Sat Nov 16, 2019 12:49 am

Re: How can I secure connection to nextcloud?

Post by Joulinar »

can you scroll up on your terminal window

Code: Select all

...please check its terminal output...
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

I've found this :

Code: Select all

DietPi-LetsEncrypt
─────────────────────────────────────────────────────
 Mode: Running Certbot

[  OK  ] DietPi-LetsEncrypt | Lighttpd webserver detected
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
An unexpected error occurred:
There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/rate-limits/
Please see the logfiles in /var/log/letsencrypt for more details.
[FAILED] Certbot failed with error code (1), please check its terminal output. Aborting...
User avatar
Joulinar
Posts: 2279
Joined: Sat Nov 16, 2019 12:49 am

Re: How can I secure connection to nextcloud?

Post by Joulinar »

well you tried it to often :lol:

Code: Select all

...too many failed authorizations recently...
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

Oooooh damn it ! I will try tomorrow morning then, thank you very much. :D
User avatar
MichaIng
Site Admin
Posts: 2323
Joined: Sat Nov 18, 2017 6:21 pm

Re: How can I secure connection to nextcloud?

Post by MichaIng »

You could as well create a self-singed SSL certificate, like here step 2: https://wiki.debian.org/Self-Signed_Certificate
Ah wait, that guide is better: https://www.digitalocean.com/community/ ... -debian-10

Browsers will complain since you are no trusted CA ;) and in case of Apple I am not sure if connecting via untrusted certificate is possible at all, but less effort compared to No-IP inkl. its monthly manual account renewal, so probably worth to give it a try :).
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: How can I secure connection to nextcloud?

Post by JohnDoeFR »

Hi,

So, I run the LetsEncrypt and it worked ! I'm quiet in a good way there, need to figure out how can I let the VPN on and still access the nextcloud, if you have an idea.

Thank you both the SSL, the help was very welcomed
Post Reply