Guest Join UsHey Guest,
Welcome, Join our awesome community where you can discuss on various topics :-
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Much More.. or Create an Account


I am super Awesome Announcement, with links and can be used to announce important things. Check here
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LetsEncrypt Container Not Working
#1
Hi All, 
I am having issues with the lets encrypt container.
initially i though it was a port forwarding issue, this is not the case, i even tried http validation to no avail.
I am using a bind mount for the certificates.



My compose file is
Code:
version: '2'


services:
 letsencrypt:
   image: linuxserver/letsencrypt
   container_name: letsencrypt
   ports:
     - 443:443
   volumes:
     - /srv/dev-disk-by-id-md-name-openmediavault-Raid5Array/ContainerData/LetsEncrypt/:/config
   restart:
     always
   networks:
       - My-Network
   environment:
#      - PUID=1001
#      - PGID=1000
     - EMAIL=email@gmail.com
     - URL=mydomain.com
     - SUBDOMAINS=mail,nextcloud,fortigate,plex
     - ONLY_SUBDOMAINS=true
     - TZ=Australia/Melbourne
#      - HTTPVAL=true
networks:
   My-Network:
       driver: bridge


Logs
Code:
root@openmediavault:~# docker-compose -f letsen.yml up
Creating letsencrypt ... done
Attaching to letsencrypt
letsencrypt    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
letsencrypt    | [s6-init] ensuring user provided files have correct perms...exited 0.
letsencrypt    | [fix-attrs.d] applying ownership & permissions fixes...
letsencrypt    | [fix-attrs.d] done.
letsencrypt    | [cont-init.d] executing container initialization scripts...
letsencrypt    | [cont-init.d] 10-adduser: executing...
letsencrypt    | usermod: no changes
letsencrypt    |
letsencrypt    | -------------------------------------
letsencrypt    |           _     _ _
letsencrypt    |          | |___| (_) ___
letsencrypt    |          | / __| | |/ _ \
letsencrypt    |          | \__ \ | | (_) |
letsencrypt    |          |_|___/ |_|\___/
letsencrypt    |                |_|
letsencrypt    |
letsencrypt    | Brought to you by linuxserver.io
letsencrypt    | We gratefully accept donations at:
letsencrypt    | https://www.linuxserver.io/donations/
letsencrypt    | -------------------------------------
letsencrypt    | GID/UID
letsencrypt    | -------------------------------------
letsencrypt    |
letsencrypt    | User uid:    911
letsencrypt    | User gid:    911
letsencrypt    | -------------------------------------
letsencrypt    |
letsencrypt    | [cont-init.d] 10-adduser: exited 0.
letsencrypt    | [cont-init.d] 20-config: executing...
letsencrypt    | [cont-init.d] 20-config: exited 0.
letsencrypt    | [cont-init.d] 30-keygen: executing...
letsencrypt    | using keys found in /config/keys
letsencrypt    | [cont-init.d] 30-keygen: exited 0.
letsencrypt    | [cont-init.d] 50-config: executing...
letsencrypt    | 2048 bit DH parameters present
letsencrypt    | SUBDOMAINS entered, processing
letsencrypt    | Only subdomains, no URL in cert
letsencrypt    | Sub-domains processed are:  -d mail.mydomain.com -d nextcloud.mydomain.com -d fortigate.mydomain.com -d plex.mydomain.com
letsencrypt    | E-mail address entered: email@gmail.com
letsencrypt    | Different sub/domains entered than what was used before. Revoking and deleting existing certificate, and an updated one will be created
letsencrypt    | usage:
letsencrypt    |   certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
letsencrypt    |
letsencrypt    | Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
letsencrypt    | it will attempt to use a webserver both for obtaining and installing the
letsencrypt    | certificate.
letsencrypt    | certbot: error: argument --cert-path: No such file or directory
letsencrypt    | Generating new certificate
letsencrypt    | Saving debug log to /var/log/letsencrypt/letsencrypt.log
letsencrypt    | Plugins selected: Authenticator standalone, Installer None
letsencrypt    | Obtaining a new certificate
letsencrypt    | Performing the following challenges:
letsencrypt    | Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
letsencrypt    | Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
letsencrypt    | IMPORTANT NOTES:
letsencrypt    |  - Your account credentials have been saved in your Certbot
letsencrypt    |    configuration directory at /etc/letsencrypt. You should make a
letsencrypt    |    secure backup of this folder now. This configuration directory will
letsencrypt    |    also contain certificates and private keys obtained by Certbot so
letsencrypt    |    making regular backups of this folder is ideal.
letsencrypt    | /var/run/s6/etc/cont-init.d/50-config: line 127: cd: /config/keys/letsencrypt: No such file or directory
letsencrypt    | [cont-init.d] 50-config: exited 1.
letsencrypt    | [cont-finish.d] executing container finish scripts...
letsencrypt    | [cont-finish.d] done.
letsencrypt    | [s6-finish] syncing disks.
letsencrypt    | [s6-finish] sending all processes the TERM signal.
letsencrypt    | [s6-finish] sending all processes the KILL signal and exiting.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

About LinuxServer.io

Focus MyBB Theme is designed for MyBB 1.8 series and is tested properly till the most current version of MyBB i.e. 1.8.9. It is simple, clean and light MyBB theme with use of font-awesome icons and shrinking header.

For any more information, please use our contact form.

              Quick Links

              User Links

              Advertise