Voilà les logs:
nginx-proxy-companion_1 | Reloading nginx proxy...
nginx-proxy-companion_1 | 2016/11/15 17:41:01 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/update_certs'
nginx-proxy-companion_1 | 2016/11/15 17:41:01 Watching docker events
nginx-proxy-companion_1 | 2016/11/15 17:41:01 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/update_certs'
nginx-proxy-companion_1 | h2016/11/15 17:41:01 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification ''
nginx-proxy-companion_1 | ;2016/11/15 17:41:02 [notice] 30#30: signal process started
nginx-proxy-companion_1 | Creating/renewal dd@dd.com certificates... (dd@dd.com)
nginx-proxy-companion_1 | 2016-11-15 17:41:02,295:INFO:simp_le:1211: Generating new account key
nginx-proxy-companion_1 | 2016-11-15 17:41:03,997:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
nginx-proxy-companion_1 | 2016-11-15 17:41:04,294:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
nginx-proxy-companion_1 | 2016-11-15 17:41:04,687:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
nginx-proxy-companion_1 | 2016-11-15 17:41:05,431:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): letsencrypt.org
nginx-proxy-companion_1 | 2016-11-15 17:41:05,908:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
nginx-proxy-companion_1 | 2016-11-15 17:41:06,370:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
nginx-proxy-companion_1 | ACME server returned an error: urn:acme:error:malformed :: The request message was malformed :: Invalid character in DNS name
la commande que je lance est juste docker-compose up -d. J'ai un docker compose avec jwilder/nginx-proxy et jrcs/letsencrypt-nginx-proxy-companion une autre avec mariadb & wordpress
cat docker-compose.yml
nginx-proxy:
restart: always
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /srv/docker/nginx/certs:/etc/nginx/certs:ro
- /etc/nginx/vhost.d
- /usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
nginx-proxy-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- /srv/docker/nginx/certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock
volumes_from:
- nginx-proxy
cat docker-compose.yml
db:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=mdp
wordpress:
image: wordpress
links:
- db:mysql
environment:
- VIRTUAL_HOST=domaine.com
- LETSENCRYPT_HOST=mon@mail.me
- LETSENCRYPT_EMAIL=mon@mail.me
J'avais le même nom de domaine avant qui pointait sur un ks1 de la sorte, nginx-compagnon me créait mes certificats. Pour mes domaines, sous domaine. J'ai juste finalement changé l'adresse ip du A dans la zone dns. Je n'utilise pas bind9 mais la gestion de chez ovh. Je veux juste recevoir des certificats valide et non enregistrer un dns si j'ai saisi votre interrogation