IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Sécurité Discussion :

problème de renouvellement https


Sujet :

Sécurité

  1. #1
    Membre éprouvé

    Profil pro
    Inscrit en
    Août 2008
    Messages
    1 222
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2008
    Messages : 1 222
    Par défaut problème de renouvellement https
    Bonjour,
    je n'arrive plus à renouveler mon certificat, voici ce que j'ai lancer comme commande:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
     
     
    root@root:/home/root# cerbot-auto renew --dry-run
    bash: cerbot-auto : commande introuvable
    root@root:/home/root# certbot-auto renew --dry-run
    Upgrading certbot-auto 0.27.1 to 0.28.0...
    Replacing certbot-auto...
    Creating virtual environment...
    Installing Python packages...
    Installation succeeded.
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Processing /etc/letsencrypt/renewal/monsite.fr.conf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Cert is due for renewal, auto-renewing...
    Plugins selected: Authenticator webroot, Installer None
    Renewing an existing certificate
    Performing the following challenges:
    http-01 challenge for www.monsite.fr
    http-01 challenge for monsite.fr
    Waiting for verification...
    Cleaning up challenges
    Attempting to renew cert (monsite.fr) from /etc/letsencrypt/renewal/monsite.fr.conf produced an unexpected error: Failed aut                                             horization procedure. monsite.fr (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authori                                             zation :: Invalid response from http://monsite.fr/.well-known/acme-challenge/cJ2X5j-x32kcNzPOWMkJ9lK0aBckrHa127BPY5VwHhc:                                              "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>404 Not Found</h1></cent                                             er>\r\n<hr><center>". Skipping.
    All renewal attempts failed. The following certs could not be renewed:
      /etc/letsencrypt/live/monsite.fr/fullchain.pem (failure)
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ** DRY RUN: simulating 'certbot renew' close to cert expiry
    **          (The test certificates below have not been saved.)
     
    All renewal attempts failed. The following certs could not be renewed:
      /etc/letsencrypt/live/monsite.fr/fullchain.pem (failure)
    ** DRY RUN: simulating 'certbot renew' close to cert expiry
    **          (The test certificates above have not been saved.)
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    1 renew failure(s), 0 parse failure(s)
     
    IMPORTANT NOTES:
     - The following errors were reported by the server:
     
       Domain: monsite.fr
       Type:   unauthorized
       Detail: Invalid response from
       http://monsite.fr/.well-known/acme-challenge/cJ2X5j-x32kcNzPOWMkJ9lK0aBckrHa127BPY5VwHhc:
       "<html>\r\n<head><title>404 Not Found</title></head>\r\n<body
       bgcolor=\"white\">\r\n<center><h1>404 Not
       Found</h1></center>\r\n<hr><center>"
     
       To fix these errors, please make sure that your domain name was
       entered correctly and the DNS A/AAAA record(s) for that domain
       contain(s) the right IP address.
    normalement j'ai ouvert mon port 80, mais apparement je pense qu'il n'est pas capable d'écrire dans le fichier acme-challenge

    Que faut t'il faire pour y arriver, merci de vos réponse

  2. #2
    Expert confirmé Avatar de Flodelarab
    Homme Profil pro
    Inscrit en
    Septembre 2005
    Messages
    5 304
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Charente (Poitou Charente)

    Informations forums :
    Inscription : Septembre 2005
    Messages : 5 304
    Par défaut
    Bonjour

    Mais tu as MacOs ?

    C'est bizarre. Tu as un fichier texte avec des fins de lignes en \r\n, ce qui n'est pas correct.
    À mon avis, ton serveur attend un fichier avec des fins de lignes en \n.
    Donc sur ton fichier html tu peux faire:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    sed -i 's/\r$//' monfichier.html

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [Web Service][SOAP] Service Web/XML, Problème d'entête HTTP SOAPAction
    Par hxt dans le forum Bibliothèques et frameworks
    Réponses: 7
    Dernier message: 29/10/2008, 14h38
  2. Problème d'accès HTTP et MAIL SERVER
    Par gasma1975 dans le forum IIS
    Réponses: 0
    Dernier message: 20/12/2007, 16h28
  3. Problème passage en HTTPS avec Weblogic 8.0
    Par mavrick78 dans le forum Serveurs (Apache, IIS,...)
    Réponses: 7
    Dernier message: 10/12/2007, 19h05
  4. problème avec net::http
    Par piotr dans le forum Modules
    Réponses: 3
    Dernier message: 20/03/2006, 11h44

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo