da-letsencrypt icon indicating copy to clipboard operation
da-letsencrypt copied to clipboard

Exception while solving challenge selfVerify failed

Open hantk8 opened this issue 9 years ago • 5 comments

I'm testing your plugin on my testserver and i get the following error when requesting a certificate

Error while completing domain challenges

Details

Exception while solving challenge for mydomain.com: selfVerify failed, please check http://mydomain.com/.well-known/acme-challenge/zp4pGMKjYNi5tdAWTbsBG4M4r_OFQADqvIR41ZoTCO4.

When i go back to the plugin i see the following screen screen shot 2016-01-22 at 14 15 51

i can click view/edit the keys

I checked http://mydomain.com/.well-known/acme-challenge/zp4pGMKjYNi5tdAWTbsBG4M4r_OFQADqvIR41ZoTCO4. it is in the right spot

happens both in staging and live mode certificate seems not installed NET::ERR_CERT_AUTHORITY_INVALID

hantk8 avatar Jan 22 '16 13:01 hantk8

Hmm, could you post some more debug information? I see your account is registered successfully, but the domain isn't yet.

The view/edit keys of your account are unrelated to your domain's keys. Every user needs to have a account (with keys) at Lets Encrypt before requesting a SSL for a domain.

Does that path you mention exist and does it load when you request it in your browser (normal GET request)? Are you also able to load the page using wget or curl in your server?

And, what webserver and PHP do you run?

Wouter0100 avatar Jan 22 '16 15:01 Wouter0100

the path exist and returns the contents of the zp4pGMKjYNi5tdAWTbsBG4M4r_OFQADqvIR41ZoTCO4 file as txt in browser

in my DA error log i get these lines 2016:01:22-17:08:17: Unable to get any data from petertjuh360.github.io:149.210.216.163 : Cannot find the end of the headers

2016:01:22-17:13:27: Unable to get any data from petertjuh360.github.io:149.210.216.163 : Cannot find the end of the headers

Apache 2.4.17 DirectAdmin 1.49.1 Exim 4.84 MySQL 5.5.31 Named 9.8.2rc1 sshd dovecot 2.2.19 pure-ftpd 1.0.42 Php 5.5.30

hantk8 avatar Jan 22 '16 16:01 hantk8

DA error log is logic, currently there isn't any update online. Because of that, an error is thrown by DA.

What about the part for receiving a page on your server using wget or curl?

Wouter0100 avatar Jan 22 '16 22:01 Wouter0100

the server receives pages through wget and curl

[root@vm5 ~]# wget google.com --2016-01-25 11:30:14-- http://google.com/ Resolving google.com... 2a00:1450:4013:c01::71, 74.125.136.113, 74.125.136.102, ... Connecting to google.com|2a00:1450:4013:c01::71|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://www.google.nl/?gfe_rd=cr&ei=PPmlVqCPKYb4-gbk-qz4CA [following] --2016-01-25 11:30:14-- http://www.google.nl/?gfe_rd=cr&ei=PPmlVqCPKYb4-gbk-qz4CA Resolving www.google.nl... 2a00:1450:4013:c01::5e, 74.125.136.94 Connecting to www.google.nl|2a00:1450:4013:c01::5e|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `index.html'

[ <=>                                   ] 19,150      --.-K/s   in 0.004s  

2016-01-25 11:30:14 (5.08 MB/s) - `index.html' saved [19150]

[root@vm5 ~]# curl googl.com

301 Moved

301 Moved

The document has moved <A HREF="http://www.google.com/">here</A>.

[root@vm5 ~]#

hantk8 avatar Jan 25 '16 10:01 hantk8

Development of this plugin is suspended because of native Let's Encrypt support in DirectAdmin since version 1.49.2.

If this features isn't being released or very limited, we'll continue development.

Wouter0100 avatar Jan 25 '16 12:01 Wouter0100