Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/02/2024, à 19:40

Dimoi

Pb finalisation d'installation GRAV

Bonjour,

Sous 20.04, je tente d'installer Grav, mais je reste bloqué à une étape.

Voici les détails :

$ sudo certbot --apache --agree-tos --redirect --staple-ocsp --email you@example.com -d example.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
There seem to be problems with that address. Enter email address (used for
urgent renewal and security notices)

If you really want to skip this, you can run the client with
--register-unsafely-without-email but make sure you then backup your account key
from /etc/letsencrypt/accounts

 (Enter 'c' to cancel): 
Invalid email address: .
Enter email address (used for urgent renewal and security notices)

If you really want to skip this, you can run the client with
--register-unsafely-without-email but make sure you then backup your account key
from /etc/letsencrypt/accounts

 (Enter 'c' to cancel): @@@@@@g...fr

Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
Obtaining a new certificate
An unexpected error occurred:
The server will not issue certificates for the identifier :: Error creating new order :: Cannot issue for "example.com": The ACME server refuses to issue a certificate for this domain name, because it is forbidden by policy
Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES:
 - Your account credentials have been saved in your Certbot
   configuration directory at /etc/letsencrypt. You should make a
   secure backup of this folder now. This configuration directory will
   also contain certificates and private keys obtained by Certbot so
   making regular backups of this folder is ideal.
kftx@jksx-IdeaPad-3-15IML05:~$ sudo apache2ctl -t
AH00112: Warning: DocumentRoot [/var/www/grav] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Syntax OK
kftx@jksx-IdeaPad-3-15IML05:~$ sudo systemctl reload apache2
kftx@jksx-IdeaPad-3-15IML05:~$ ls /etc/apache2/sites-available/
000-default.conf  default-ssl.conf  grav.conf  grav.conf.save  grav.conf.save.1
kftx@jksx-IdeaPad-3-15IML05:~$ cat /etc/apache2/sites-available/nom_du_site.conf
cat: /etc/apache2/sites-available/nom_du_site.conf: Aucun fichier ou dossier de ce type
kftx@jksx-IdeaPad-3-15IML05:~$ sudo nano /etc/apache2/sites-available/grav.conf
kftx@jksx-IdeaPad-3-15IML05:~$ 
kftx@jksx-IdeaPad-3-15IML05:~$ sudo apache2ctl -t
AH00112: Warning: DocumentRoot [/var/www/grav] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Syntax OK

J'ai utilisé sans comprendre >>

https://doc.ubuntu-fr.org/grav

https://idroot.us/install-grav-cms-ubuntu-20-04/


Merci d'avance  pour votre précieuse aide.

Hors ligne

#2 Le 18/02/2024, à 09:17

bruno

Re : Pb finalisation d'installation GRAV

Bonjour,

Dimoi a écrit :

J'ai utilisé sans comprendre >>

Désolé, c'est un peu abrupt, mais le problème est là wink

Tu as copié/collé cette commande sans l'adapter :

certbot --apache --agree-tos --redirect --staple-ocsp --email you@example.com -d example.com

et évidemment ta machine ne correspond pas au domaine example.com

Oublie certbot et les certificats TLS pour l'instant.

Si tu veux installer localement grav la doc est parfaite : https://doc.ubuntu-fr.org/grav, à condition de la suivre étape par étape jusqu'au bout et en essayant de comprendre un minimum de quoi il s'agit.

Là :

Warning: DocumentRoot [/var/www/grav] does not exist

tu as visiblement raté une ou plusieurs étapes (point 1.2 de la doc).

Dernière modification par bruno (Le 18/02/2024, à 09:18)


Attention, les bouteilles vendues par Nestlé Waters sont contaminées au monoxyde de dihydrogène.

Hors ligne