Jump to content
Froxlor Forum

MasterOfDeath

Members
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MasterOfDeath

  1. again changed back to Alias "/.well-known/acme-challenge" "/var/www/froxlor/.well-known/acme-challenge" <Directory "/var/www/froxlor/.well-known/acme-challenge"> Require all granted </Directory> and still i got the error [debug] https://github.com/acmesh-official/acme.sh v2.8.6 [Fri Apr 17 22:15:17 +03 2020] Creating domain key [Fri Apr 17 22:15:17 +03 2020] The domain key is here: /root/.acme.sh/xxxx.net/xxxx.net.key [Fri Apr 17 22:15:17 +03 2020] Multi domain='DNS:xxxx.net,DNS:www.xxxx.net' [Fri Apr 17 22:15:17 +03 2020] Getting domain auth token for each domain [Fri Apr 17 22:15:20 +03 2020] Getting webroot for domain='xxxx.net' [Fri Apr 17 22:15:20 +03 2020] Getting webroot for domain='www.xxxx.net' [Fri Apr 17 22:15:20 +03 2020] Verifying: xxxx.net <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> <hr> <address>Apache/2.4.25 (Debian) Server at xxxx.net Port 80</address> </body></html> [error] Could not get Let's Encrypt certificate for xxxx.net: https://github.com/acmesh-official/acme.sh v2.8.6 [Fri Apr 17 22:15:17 +03 2020] Creating domain key [Fri Apr 17 22:15:17 +03 2020] The domain key is here: /root/.acme.sh/xxxx.net/xxxx.net.key [Fri Apr 17 22:15:17 +03 2020] Multi domain='DNS:xxxx.net,DNS:www.xxxx.net' [Fri Apr 17 22:15:17 +03 2020] Getting domain auth token for each domain [Fri Apr 17 22:15:20 +03 2020] Getting webroot for domain='xxxx.net' [Fri Apr 17 22:15:20 +03 2020] Getting webroot for domain='xxxx.net' [Fri Apr 17 22:15:20 +03 2020] Verifying: xxxx.net <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> <hr> <address>Apache/2.4.25 (Debian) Server at xxxx.net Port 80</address> </body></html> As i understand acme script is creating key files under /root/.acme.sh/ and it cause error. As you wrote above, it should be create key files under /var/www/froxlor/.well-known , i copied them manually but still the same so where can i find acme.sh actual installation for froxlor with proper folder destination? thanks
  2. So i should change it to below again? Alias "/.well-known/acme-challenge" "/var/www/froxlor/.well-known/acme-challenge" <Directory "/var/www/froxlor/.well-known/acme-challenge"> Require all granted </Directory> Btw please see attached configuration example from froxlor panel page
  3. Thanks i changed acme.conf previously it was Alias "/.well-known/acme-challenge" "/var/www/froxlor/.well-known/acme-challenge" <Directory "/var/www/froxlor/.well-known/acme-challenge"> Require all granted </Directory> and overwrite with the new version according to froxlor panel configurations, restarted apache; Alias "/.well-known/acme-challenge" "/root/.acme.sh//.well-known/acme-challenge" <Directory "/root/.acme.sh//.well-known/acme-challenge"> Require all granted </Directory> But when i execute below command, i got 403 forbidden error php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug [debug] https://github.com/acmesh-official/acme.sh v2.8.6 [Fri Apr 17 15:00:59 +03 2020] Creating domain key [Fri Apr 17 15:01:00 +03 2020] The domain key is here: /root/.acme.sh/xxxx.net/xxxx.net.key [Fri Apr 17 15:01:00 +03 2020] Multi domain='DNS:xxxx.net,DNS:www.xxxx.net' [Fri Apr 17 15:01:00 +03 2020] Getting domain auth token for each domain [Fri Apr 17 15:01:03 +03 2020] Getting webroot for domain='xxxx.net' [Fri Apr 17 15:01:03 +03 2020] Getting webroot for domain='www.xxxx.net' [Fri Apr 17 15:01:03 +03 2020] Verifying: xxxx.net <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access this resource.</p> <hr> <address>Apache/2.4.25 (Debian) Server at xxxx.net Port 80</address> </body></html> [error] Could not get Let's Encrypt certificate for xxxx.net: https://github.com/acmesh-official/acme.sh v2.8.6
  4. Hello all, I already configured my root server for ssl. I have also paid ssl certificates for my two domains and working properly. But i would like to use lets encrypt for my other domains. my question is, how can i fix below error? Lets encrypt cronjobs working properly but when i checked my log files it says 404 Not found error in https://domain.com/.well-known/acme-challenge/alaOcXG2qqHJKiMj26IXNA-IkSdtSgt3rnjgJnYDv8I . I assume it couldnt able to create required certificates. But under /root/.well-known/acme-challenge i can see the key files for domain, there is no any other .well-known folder under /var/customers/webs/ Thanks in advance for your help!
  5. just activated from system>settings>system settings
  6. libnss-extrausers configured as per direction in system>configuration fgcid enabled under settings also i checked https://github.com/Froxlor/Froxlor/wiki/apache2-with-fcgid but it is including commands for debian old versions.
  7. Hello all, I deleted my old debian 7 and updated everything to new versions. However some problems exists and i cannot access my webpages. I did everything according to wiki pages and froxlor configurations but still some errors exists in below and not showing pages properly - only froxlor default page shown ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: active (running) (Result: exit-code) since Tue 2019-04-16 23:48:14 +03; 53min ago Process: 4850 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS) Process: 5958 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=1/FAILURE) Process: 4858 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS) Main PID: 4862 (apache2) Tasks: 13 (limit: 4915) CGroup: /system.slice/apache2.service ├─4862 /usr/sbin/apache2 -k start ├─4863 /usr/sbin/apache2 -k start ├─4864 /usr/sbin/apache2 -k start ├─4867 /usr/sbin/apache2 -k start ├─4868 /usr/sbin/apache2 -k start ├─4869 /usr/bin/php-cgi -c /var/www/php-fcgi-scripts/froxlor.panel/v22000.local/ ├─4874 /usr/sbin/apache2 -k start ├─4877 /usr/sbin/apache2 -k start ├─4878 /usr/sbin/apache2 -k start ├─4879 /usr/sbin/apache2 -k start ├─4880 /usr/sbin/apache2 -k start ├─4940 /usr/sbin/apache2 -k start └─5740 /usr/sbin/apache2 -k start Apr 16 23:48:14 v2201412723521843 systemd[1]: Started The Apache HTTP Server. Apr 17 00:33:51 v2201412723521843 Froxlor[4869]: [Administrator Action admin] [information] rebuild configfiles due to changed setting Apr 17 00:34:45 v2201412723521843 Froxlor[4869]: [Administrator Action admin] [information] added user 'kaptan' Apr 17 00:35:16 v2201412723521843 Froxlor[4869]: [Administrator Action admin] [information] added domain 'kaptan.xyz' Apr 17 00:36:28 v2201412723521843 systemd[1]: Reloading The Apache HTTP Server. Apr 17 00:36:29 v2201412723521843 apachectl[5958]: AH00543: apache2: bad user name kaptan Apr 17 00:36:29 v2201412723521843 apachectl[5958]: Action 'graceful' failed. Apr 17 00:36:29 v2201412723521843 apachectl[5958]: The Apache error log may have more information. Apr 17 00:36:29 v2201412723521843 systemd[1]: apache2.service: Control process exited, code=exited status=1 Apr 17 00:36:29 v2201412723521843 systemd[1]: Reload failed for The Apache HTTP Server. ls -al /var/customers/webs/ total 1494612 drwxr-xr-x 9 root root 4096 Apr 17 00:36 . drwxr-xr-x 6 root root 4096 Apr 13 11:00 .. -rw-r--r-- 1 root root 1530439729 Apr 12 20:09 all_backup.zip drwxr-x--- 3 10009 10009 4096 Apr 17 00:39 kaptan drwxr-x--- 7 10002 10002 4096 Apr 13 18:41 kaptans drwxr-xr-x 8 root root 4096 Apr 13 18:55 NOTactiveWEB drwxr-x--- 3 10007 10007 4096 Apr 14 19:24 test
×
×
  • Create New...