Nextcloudpi - letwsencrypt

Dears,
I am a complete newbie and don´t haver that much expirience with Linux / Raspbian / debial at all.
I´ve tried to install nextcloudpi with the command line and the image as well.
Eyerything ok so far - but can´t get the Certificate / letsencrypt somehow.
my webpage nexcloud is avaialiable unsecured and I can get access the the site

My domain is:samclouid.ddns.net

I get all the time a failure message
[ letsencrypt ]
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for noip.com
Using the webroot path /var/www/nextcloud for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. noip.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://www.noip.com/.well-known/acme-challenge/tPGqwrx0vPSz13-ituqU84yTKi3IqWIambV6xjLQYiI [8.23.224.107]: “\n<html lang=“en”>\n\n\n\n404 - Page Not Found - No-IP\n<meta name=“language” content”
IMPORTANT NOTES:

  • The following errors were reported by the server:

Domain: noip.com
Type: unauthorized
Detail: Invalid response from
https://www.noip.com/.well-known/acme-challenge/tPGqwrx0vPSz13-ituqU84yTKi3IqWIambV6xjLQYiI
[8.23.224.107]: "\n<html
lang=“en”>\n\n\n\n404 - Page Not Found

  • No-IP\n<meta name=“language” content"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.

I´ve checkend the let´s debug site already, it shows all ok

Have ran the command of certbot

sudo certbot certonly

IMPORTANT NOTES:

  • Congratulations! Your certificate and chain have been saved at:
    /etc/letsencrypt/live/samcloud.ddns.net/fullchain.pem
    Your key file has been saved at:
    /etc/letsencrypt/live/samcloud.ddns.net/privkey.pem
    Your cert will expire on 2020-07-27. To obtain a new or tweaked
    version of this certificate in the future, simply run certbot
    again. To non-interactively renew all of your certificates, run
    “certbot renew”

can somebody help me pls?
Sry for my poor lang- I´m writing you from Germany

Hi @Nino

If you want to create a certificate with samclouid.ddns.net as domain name, why is there a http-01 challenge for noip.com?

That can’t work.

If you aren’t the owner of noip.com, you can’t create a certificate with that domain name.

PS: There

you have already created a certificate.

Hi,

thanks for your prompt reply
it was my undertstandiung too.

  1. I´ve created a subdomain by noip.com
    samcloud.ddns.net
    which is rachable via web (unsecured)
  2. with certbot it seemy a certificate has been issued etc. now how can I implement this in my nextclouipi iinstallation? it seems the files (files / certificate itself etc.) may be in other directory than it should be, right? how can I fix this?

Check your nextcloud documentation.

That should never be a problem.

Thanks dear,
I´ve seen some videos and some documentaion as well- most of the users get this installed and configured instantly. Don´t know what the porblem is with mine.
the documentation from nextcloudpi website is too complicated for me, if you mean this one:
https://docs.nextcloudpi.com/en/how-to-get-certificate-with-letsencrypt-using-dns-to-verify-domain/
I really don´t know what exactly have to type in and what the steps are.
but thanks anyway,

btw
I´ve typed just my subdomian from noip and tryied to get the certificate - it shows all ok but the site is still unsecured :- :neutral_face:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.