Can't install letsencrypt Cert

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

My domain is: chat.inferworld.co.uk

I ran this command:

sudo ./letsencrypt-auto certonly --webroot -w /opt/bitnami/openfire -d chat.inferworld.co.uk

It produced this output:

root@OpenFire:/tmp/letsencrypt# sudo ./letsencrypt-auto certonly --webroot -w /opt/bitnami/openfire -d chat.inferworld.co.uk
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for chat.inferworld.co.uk
Using the webroot path /opt/bitnami/openfire for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. chat.inferworld.co.uk (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://chat.inferworld.co.uk/.well-known/acme-challenge/GZRVgBxd_D_eab0Zw8ILrw93a6YDH4p82vwhmH-d_JE: "

Error 404 Not Found <b"

IMPORTANT NOTES:

My operating system is (include version): Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-106-generic x86_64)

My web server is (include version): apache (version not sure)

My hosting provider, if applicable, is: Azure

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):

nope

I’m not familiar with bitnami but is your webroot correct ? i.e. if you place a plain text file called “test” with the contents “ok” at

/opt/bitnami/openfire/.well-known/acme-challenge/test

can you reach it in your browser at http://chat.inferworld.co.uk/.well-known/acme-challenge/test ?

Yeah the webroot is correct

If I go to curl -I http://chat.inferworld.co.uk/.well-known/acme-challenge/test I get a 404 Not Found error

is it working for you ?

No its not i just get 404 Not Found as well

I’d suggest working back from there … if you place a “test” file in the webroot can you reach it ? what about in webroot/.well-known/ ? …

i think iv found the right directory “/opt/bitnami/apache2/htdocs/” i created the test file in that under .well-known/acme-challenge but i just get http error 404

Can you create the file in the webroot (/opt/bitnami/apache2/htdocs/ ? ) l and reach it at http://chat.inferworld.co.uk/test ?

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