Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mhu

Pages: [1]
1
CentOS 7 Problems / CWP7 AutoSSL (letsencrypt) for hostname failed.
« on: May 07, 2021, 05:01:26 PM »
Hello,
I've decided to install CWP7 today on an OpenVZ I'm renting.
The OpenVZ IP is static 185.53.129.160 and it is set in the vps control panel to srv.madbeka.win

First thing I did after installing is settings the nameservers as followed:
on ns1.madbeka.win.db
ns1.madbeka.win.   NS   86400   ns1.madbeka.win.   
ns1.madbeka.win.   NS   86400   ns2.madbeka.win.   
ns1.madbeka.win.   A   14400   185.53.129.160

on ns2.madbeka.win.db
ns2.madbeka.win.   NS   86400   ns1.madbeka.win.   
ns2.madbeka.win.   NS   86400   ns2.madbeka.win.   
ns2.madbeka.win.   A   14400   185.53.129.160

After that I set up a new DNS Zone - srv.madbeka.win.db and set it as followed:
srv.madbeka.win.   NS   86400   ns1.madbeka.win.   
srv.madbeka.win.   NS   86400   ns2.madbeka.win.   
srv.madbeka.win.   MX   0   srv.madbeka.win.
srv.madbeka.win.   A      185.53.129.160   
localhost.srv.madbeka.win.   A      127.0.0.1
_dmarc   TXT   14400   v=DMARC1; p=reject; pct=100; adkim=r; aspf=s   
@   TXT   14400   v=spf1 a mx ~all

Then I went to "Change Hostname" tab and verified that:
Your Hostname is: srv.madbeka.win and it resolves to IP: 185.53.129.160 [Check Black List] [Check CWP SSL] [Check WebServers SSL] rDNS/PTR = srv.madbeka.win SUCCESS [Check SenderBase]   

Under New Hostname i have srv.madbeka.win

The thing is that after I click on "Change Hostname" it doesn't generate an AUTOSSL certificate.
tail -f /root/.acme.sh/acme.sh.log showed me this error:

[Fri May  7 18:36:00 CEST 2021] POST
[Fri May  7 18:36:00 CEST 2021] _post_url='https://acme-v02.api.letsencrypt.org/acme/finalize/122704566/9545281925'
[Fri May  7 18:36:00 CEST 2021] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  -g '
[Fri May  7 18:36:01 CEST 2021] _ret='0'
[Fri May  7 18:36:01 CEST 2021] code='403'
[Fri May  7 18:36:01 CEST 2021] Sign failed, finalize code is not 200.
[Fri May  7 18:36:01 CEST 2021] {
  "type": "urn:ietf:params:acme:error:orderNotReady",
  "detail": "Order's status (\"invalid\") is not acceptable for finalization",
  "status": 403
}
[Fri May  7 18:36:01 CEST 2021] _on_issue_err
[Fri May  7 18:36:01 CEST 2021] Please check log file for more details: /root/.acme.sh/acme.sh.log

Any ideas what is wrong with it?

2
I'm having the exact problem

[Sun Sep 02 03:57:21 2018] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/login.php</b> has expired. in Unknown on line 0

3
SSL / Re: How To Force SSL with Letsencrypt?
« on: January 30, 2017, 03:14:24 PM »
you can either edit the /usr/local/apache/conf.d/vhosts.conf file directly or through the panel at Apache Settings/Edit Apache vHosts and add this to each vhost:
Redirect / https://www.yourdomainname.com/

4
DNS / weird issue with rDNS/PTR in Control panel
« on: January 28, 2017, 09:10:20 PM »
Hello,
I've installed cwp.admin yesterday on a VPS hosted at iniz.com.
In their control panel i've set the reverse dns to my machine's hostname (vps.naamareich.com)

for some reason i'm getting this:
Your Hostname is: vps.naamareich.com and it resolves to IP: naamareich.com. 185.53.129.160 [Check Black List]
rDNS/PTR = FAILED, check with your hosting provider! FAILED [Check SenderBase]

even tho in http://rdnslookup.com and http://mxtoolbox.com/ReverseLookup.aspx i get
PTR   185.53.129.160   vps.naamareich.com
Reported by rdns2.iniz.com on 1/28/2017 at 9:09:28 PM (UTC 0)

so why is cwp.admin showing me that error?

Pages: [1]