Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > UNIT3D
Reply
  #1  
Old 14th September 2019, 17:22
mitch's Avatar
mitch mitch is offline
Senior Member
 
Join Date: Jan 2012
France
Posts: 43
Default error using auto installer
hi, I have a problem here:
Quote:
rm -rf /etc/nginx/sites-available/default
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
ufw allow 'Nginx Full'
[============================] (Done!)
ufw delete allow 'Nginx HTTP'
[============================] (Done!)
ufw allow 8443
[============================] (Done!)
systemctl restart nginx
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
apt install -y python-certbot-nginx
[============================] (Done!)
certbot --redirect --nginx -n --agree-tos --email=XXX@yahoo.fr -d XXX.pw -d www.XXX.pw
[============================] (Done!)

[ERROR] Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for XXX.pw
http-01 challenge for www.XXX.pw
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.XXX.pw (http-01): urn:ietf:params:acme:error:unauthorized :: The
client lacks sufficient authorization :: Invalid response from
http://www.XXX.pw/.well-known/acme-c...UtH4e_ZKd8Tgwk [217.70.184.50]:
"<!DOCTYPE html>\n<html class="no-js" lang=en>\n <head>\n <meta charset="utf-8">\n <meta
name="viewport" content="width=device"
I can't create certtificat and install is stopped, someone can help me? thx
Reply With Quote
  #2  
Old 14th September 2019, 17:42
antimidas's Avatar
antimidas antimidas is offline
Senior Member
 
Join Date: Mar 2011
United States
Posts: 64
Default
Quote:
Originally Posted by mitch View Post
hi, I have a problem here:

I can't create certtificat and install is stopped, someone can help me? thx
go into the default nginx file, fill in the server_name variable.... then go to https://certbot.eff.org and get the newest certbot or certbot-auto, then run it. I never use built in letsencrypt/certbot scripts. once you get and install cert crontab the renew script for every 28 days, it will keep cert auto renewed when the time comes.

example /etc/nginx/sites-enabled/default
Code:
server {
        listen 443 ssl;
        server_name your.site.com;
        root /var/www;
        index index.html index.php index.htm;
Reply With Quote
  #3  
Old 14th September 2019, 18:59
mitch's Avatar
mitch mitch is offline
Senior Member
 
Join Date: Jan 2012
France
Posts: 43
Default
I think I must have made a mistake during the installation by putting bad data in the requested fields, in any case thank you for your help

Bump: I did as you told me and it doesn't work. I have re-installed twice, once with ubuntu 16.04 and 18.04. Each time it fails when creating the certificate.
I don't know what to do. thx

Bump: finally founded my problem, cname was missing in my dns

Last edited by mitch; 15th September 2019 at 12:53.
Reply With Quote
  #4  
Old 3rd November 2019, 07:37
batuo76's Avatar
batuo76 batuo76 is offline
Senior Member
 
Join Date: Aug 2012
Austria
Posts: 30
Default
I have the same error ubuntu 18.04 VirtualBox.
How create cname in dns?
Thanks.
Reply With Quote
  #5  
Old 3rd November 2019, 07:56
mitch's Avatar
mitch mitch is offline
Senior Member
 
Join Date: Jan 2012
France
Posts: 43
Default
who's your registar? if,
Reply With Quote
  #6  
Old 3rd November 2019, 08:21
batuo76's Avatar
batuo76 batuo76 is offline
Senior Member
 
Join Date: Aug 2012
Austria
Posts: 30
Default
Quote:
Originally Posted by mitch View Post
who's your registar? if,
I do not understand.
Reply With Quote
  #7  
Old 3rd November 2019, 08:29
mitch's Avatar
mitch mitch is offline
Senior Member
 
Join Date: Jan 2012
France
Posts: 43
Default
where is your domain name registered?
Reply With Quote
  #8  
Old 3rd November 2019, 08:31
batuo76's Avatar
batuo76 batuo76 is offline
Senior Member
 
Join Date: Aug 2012
Austria
Posts: 30
Default
This is on my localhost Ubuntu 18.04 on VirtualBox.
Reply With Quote
  #9  
Old 3rd November 2019, 10:49
mitch's Avatar
mitch mitch is offline
Senior Member
 
Join Date: Jan 2012
France
Posts: 43
Default
I don't know virtualbox
Reply With Quote
  #10  
Old 3rd November 2019, 22:16
HDVinnie's Avatar
HDVinnie HDVinnie is offline
BluCrew
 
Join Date: Dec 2014
P2P
Posts: 129
Default
The installer is not meant for LOCAL! You need a fresh server with nothing on it but ubuntu 16 or 18 and a valid domain pointing to the servers IP.

You want to install locally you need to do it manually with Homestead or alike
__________________
Founder Of UNIT3D
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 06:05. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2020, vBulletin Solutions Inc.