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: 40
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
P2P
Posts: 31
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: 40
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
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 09:41. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2019, vBulletin Solutions Inc.