Failed authorization procedure with Glassfish and Debian

Please fill out the fields below so we can help you better.

My domain is:
alcora.ru

I ran this command:
sudo certbot certonly --webroot -w /var/www/alcora -d alcora.ru -d www.alcora.ru

It produced this output:
Failed authorization procedure. alcora.ru (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://alcora.ru/.well-known/acme-challenge/sJMtuscVogPTnYQYUztk-NAO_iwuNp2br9IS-IKTDw4: "<html xmlns=“http:/”, www.alcora.ru (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.alcora.ru/.well-known/acme-challenge/K2IEH-FiqfVcQvfelKC93QlBQ2LGyet3xDfiTYMLQ74: "<html xmlns=“http:/”

IMPORTANT NOTES:

My operating system is (include version):
Debian 8 jessie

My web server is (include version):
Glassfish 4.1.1

My hosting provider, if applicable, is:
Linode.com

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):
no (glassfish administration console only)

Additional information:

I’ve actually create directory /.well-known/acme-challenge and verified that I have access to it from browser when I type http://alcora.ru/.well-known/acme-challenge/index.html

What can be a cause of the problem described? Thank you for any help!

This also gives a 404 Not Found-error on my browser.

Thank you for your reply!

Actually I've already removed that file from the server. I used standalone version of certbot. And successfully download four files: cert.pem, chain.pem, fullchain.pem and privkey.pem. Then, I used the following code:

But face the same problem. I cannot login into administration console (port 4848). But with the different error:
SSLHandshakeException

At port 8181 ssl works perfectly.

Can you give me a clue of how to solve this problem?

Solved the problem using this link:

https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm

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