SSL Issue

How do I install/enable LetsEncrypt on the server? I can’t figure it out. I tried to create a new website account but won’t work with SSL enabled.

Error message: 283 Failed to obtain SSL for domain. [issueSSLForDomain] [404]

Second Error:

Cannot issue SSL. Error message: [Thu Oct 31 19:37:17 UTC 2019] mydomain.news:Verify error:Invalid response from http://mydomain.news/.well-known/acme-challenge/0OcQSrbZCjv-0HBEOnWkyjxzh6tRtIVo-uhQi7qRxNM [98.159.34.2]: [Thu Oct 31 19:37:17 UTC 2019] Please add ‘–debug’ or ‘–log’ to check more details. [Thu Oct 31 19:37:17 UTC 2019] See: How to debug acme.sh · acmesh-official/acme.sh Wiki · GitHub [Thu Oct 31 19:37:19 UTC 2019] Create new order error. Le_OrderFinalize not found. { “type”: “urn:ietf:params:acme:error:rateLimited”, “detail”: “Error creating new order :: too many failed authorizations recently: see Rate Limits - Let's Encrypt”, “status”: 429 } [Thu Oct 31 19:37:19 UTC 2019] Please add ‘–debug’ or ‘–log’ to check more details. [Thu Oct 31 19:37:19 UTC 2019] See: How to debug acme.sh · acmesh-official/acme.sh Wiki · GitHub 0,283 Failed to obtain SSL for domain. [issueSSLForDomain]

Debug:

[root@localhost ~]# wget -O - https://get.acme.sh | sh
–2019-10-31 15:38:39-- https://get.acme.sh/
Resolving get.acme.sh (get.acme.sh)… 104.24.116.182, 104.24.117.182, 2606:4700:30::6818:75b6, …
Connecting to get.acme.sh (get.acme.sh)|104.24.116.182|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [text/html]
Saving to: ‘STDOUT’

[ <=>                                                                                                                         ] 705         --.-K/s   in 0s      

2019-10-31 15:38:39 (19.9 MB/s) - written to stdout [705]

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 188k 100 188k 0 0 689k 0 --:–:-- --:–:-- --:–:-- 691k
[Thu Oct 31 15:38:40 EDT 2019] Installing from online archive.
[Thu Oct 31 15:38:40 EDT 2019] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
[Thu Oct 31 15:38:40 EDT 2019] Extracting master.tar.gz
[Thu Oct 31 15:38:40 EDT 2019] It is recommended to install socat first.
[Thu Oct 31 15:38:40 EDT 2019] We use socat for standalone server if you use standalone mode.
[Thu Oct 31 15:38:40 EDT 2019] If you don’t use standalone mode, just ignore this warning.
[Thu Oct 31 15:38:40 EDT 2019] Installing to /root/.acme.sh
[Thu Oct 31 15:38:40 EDT 2019] Installed to /root/.acme.sh/acme.sh
[Thu Oct 31 15:38:40 EDT 2019] Installing alias to ‘/root/.bashrc’
[Thu Oct 31 15:38:40 EDT 2019] OK, Close and reopen your terminal to start using acme.sh
[Thu Oct 31 15:38:40 EDT 2019] Installing alias to ‘/root/.cshrc’
[Thu Oct 31 15:38:40 EDT 2019] Installing alias to ‘/root/.tcshrc’
[Thu Oct 31 15:38:40 EDT 2019] Installing cron job
52 0 * * * “/root/.acme.sh”/acme.sh --cron --home “/root/.acme.sh” > /dev/null
[Thu Oct 31 15:38:40 EDT 2019] Good, bash is found, so change the shebang to use bash as preferred.
[Thu Oct 31 15:38:41 EDT 2019] OK
[Thu Oct 31 15:38:41 EDT 2019] Install success!

Main Log File

[10.31.2019_19-37-12] Trying to obtain SSL for: mydomain.news and: www.mydomain.news
[10.31.2019_19-37-12] /root/.acme.sh/acme.sh --issue -d mydomain.news -d www.mydomain.news --cert-file /etc/letsencrypt/live/mydomain.news/cert.pem --key-file /etc/letsencrypt/live/mydomain.news/privkey.pem --fullchain-file /etc/letsencrypt/live/mydomain.news/fullchain.pem -w /home/mydomain.news/public_html --force
[10.31.2019_19-37-18] Failed to obtain SSL for: mydomain.news and: www.mydomain.news
[10.31.2019_19-37-18] Trying to obtain SSL for: mydomain.news
[10.31.2019_19-37-19] Failed to obtain SSL, issuing self-signed SSL for: mydomain.news
[10.31.2019_19-37-19] 283 Failed to obtain SSL for domain. [issueSSLForDomain]

Error is here

Cannot issue SSL. Error message: [Thu Oct 31 19:37:17 UTC 2019] mydomain.news:Verify error:Invalid response from http://mydomain.news/.well-known/acme-challenge/0OcQSrbZCjv-0HBEOnWkyjxzh6tRtIVo-uhQi7qRxNM

Looks like you have not updated your DNS records?

Fixed thank you.