Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated certbot version as a new image cannot be currently built #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

@marisbahtins
Copy link

LGTM!

@marisbahtins
Copy link

marisbahtins commented Jan 30, 2019

Hi @anton-kasperovich!
Can you please take a look at this PR and merge if it looks good to you. We have tested change internally.

@anton-kasperovich
Copy link

Did we try to generate a new certificate with upgraded base image? I had hard times with certbot back then...

… quote and removed the certbot part as that is the entrypoint
@marisbahtins
Copy link

Yes, we tried to generate a new certificate. The only issue we had it couldn't authorize procedure as we don't have "real" domain.
Here is an example:

[root@ip certbot]# docker run --rm -it -p 80:80 -p 443:443 -v /home/centos:/etc/letsencrypt test/certbot certonly --standalone -d "example.xip.io" --text - -register-unsafely-without-email --agree-tos
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Registering without email!
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for example.xip.io
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. example.xip.io (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://example.xip.io/.well-known/acme-challenge/GM296QMUmwwPbvFijcBSUBhKWc1u7pScwaDQJT5THgQ: Timeout during connect (likely firewall problem)
 
IMPORTANT NOTES:
 - The following errors were reported by the server:
 
   Domain: example.xip.io
   Type:   connection
   Detail: Fetching
   http://example.xip.io/.well-known/acme-challenge/GM296QMUmwwPbvFijcBSUBhKWc1u7pScwaDQJT5THgQ:
   Timeout during connect (likely firewall problem)
 
   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. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.
 - 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. ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants