Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   UNIT3D (http://www.bvlist.com/forumdisplay.php?f=129)
-   -   error using auto installer (http://www.bvlist.com/showthread.php?t=12155)

mitch 14th September 2019 17:22

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]:
"\n\n \n \n name="viewport" content="width=device"
I can't create certtificat and install is stopped, someone can help me? thx

antimidas 14th September 2019 17:42

Quote:

Originally Posted by mitch (Post 54092)
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;


mitch 14th September 2019 18:59

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

batuo76 3rd November 2019 07:37

I have the same error ubuntu 18.04 VirtualBox.
How create cname in dns?
Thanks.

mitch 3rd November 2019 07:56

who's your registar? if,

batuo76 3rd November 2019 08:21

Quote:

Originally Posted by mitch (Post 54213)
who's your registar? if,

I do not understand.

mitch 3rd November 2019 08:29

where is your domain name registered?

batuo76 3rd November 2019 08:31

This is on my localhost Ubuntu 18.04 on VirtualBox.

mitch 3rd November 2019 10:49

I don't know virtualbox

HDVinnie 3rd November 2019 22:16

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


All times are GMT +2. The time now is 20:14.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.