Problem ,,some challenges have failed‘‘

Hello everyone, I have a problem.
I want to install an SSL certificate with Certbot on my Nextcloud. But every time I try this, I get the message "Some challenges have failed."**

Can someone please help me?
Thanks a lot! :blush:

your nextcloud is running on openresty server: looks you selected wrong authenticator

1 Like

Oh, how do I change that, and what do I need to change it to?

not much can say about without knowing how you set the server;

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

2 Likes

My domain is: nloi-nextcloud.de

I ran this command: as root: certbot —apache -m (my mail) -d nloi-Nextcloud.de

It produced this output: shown in the picture above

My web server is (include version): apache2.4.58

The operating system my web server runs on is (include version): Ubuntu 24.04.1 LTS

My hosting provider, if applicable, is: for the Domain and the VPN-Server -> because i have a DS-Lite connection is IONOS

I can login to a root shell on my machine (yes or no, or I don't know): Yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): ?

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 2.9.0

but you aren't running apache: it's openresty: where is it?

2 Likes

Where can I check that?
Sorry this is my first Owncloud :grimacing:

I can reach the Nextcloud over my Domain but the warning is already there. I think this is because i have no SSL certificate

form my viewpoint i seeing a nextcloud in openresty, and it do have valid certificate signed yesterday

1 Like

does nginx proxy manger ring a bell to you?

That sounds good, but why is the message still there? Can I prevent access via HTTP in another way so that only HTTPS works?

Yes this is my reversed proxy manager

just specify https:// in client's url link: npm is painful to debug

2 Likes

You should modify your server so it redirects HTTP requests to HTTP. You should review the nextcloud docs or support forum if you need help configuring it. Or NPM if you have that too.

Or, as orangepizza said just be sure to use HTTPS:// in the browser address box

3 Likes

I can access Nextcloud via HTTPS, and it works. However, the message remains and significantly limits the functionality of my Nextcloud.

Can you tell me how to configure it so that HTTP requests are redirected to HTTPS?

I am not expert with NextCloud. Maybe some other volunteer here will know but you are better asking at a NextCloud forum or their support.

Probably related to it doing this (note from https it is redirect to http://)

curl -i https://nloi-nextcloud.de/index.php
HTTP/1.1 302 Found
Server: openresty
...
Location: http://nloi-nextcloud.de/index.php/login
X-Served-By: nloi-nextcloud.de
2 Likes

Okay thank you guys. Have a nice day

3 Likes

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