certbot

DNS resolution in docker containers

自古美人都是妖i 提交于 2021-02-20 00:40:29
问题 [ environment ] CentOS 7 Docker 19.03.12, build 48a66213fe I have a failing cerbot (let's encrypt client) inside a docker container. It looks like acme-v02.api.letsencrypt.org is not resolvable from the container but is resolvable from the host (the most probable cause). I am used to the fact that containers inherit from the host's DNS parameters but, in the case of AWS EC2 instances, there seems to be some subtilities DNS Manual setting [ec2-user@ip-172-31-32-243 ~]$ cat /etc/resolv.conf #

create-react-app | Is it possible to serve a file from backend instead of serving index.html when a browser connect to app

孤人 提交于 2021-02-11 15:08:34
问题 I have been trying to enable SSL on my MERN heroku-deployed app. I have been stuck at this step far more than necessary: I am following this tutorial to set-up SSL certificate on my website. After, generating the certificate using this command locally: sudo certbot certonly --manual I was asked to do this by the terminal: Create a file containing just this data: dC9Ry5Ps_qgkOheuWnxCXFobim8vshqMqbDC9FQS4ic.noFTXhkC3HFnZ-RC9djrM6FpWGRy2AFSB17xz59apDA And make it available on your web server at

create-react-app | Is it possible to serve a file from backend instead of serving index.html when a browser connect to app

淺唱寂寞╮ 提交于 2021-02-11 15:05:15
问题 I have been trying to enable SSL on my MERN heroku-deployed app. I have been stuck at this step far more than necessary: I am following this tutorial to set-up SSL certificate on my website. After, generating the certificate using this command locally: sudo certbot certonly --manual I was asked to do this by the terminal: Create a file containing just this data: dC9Ry5Ps_qgkOheuWnxCXFobim8vshqMqbDC9FQS4ic.noFTXhkC3HFnZ-RC9djrM6FpWGRy2AFSB17xz59apDA And make it available on your web server at

certbot --nginx generates PR_END_OF_FILE_ERROR

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-11 15:00:41
问题 a Ubuntu 16.04.6 LTS VPS running nginx is presently bricked in terms of serving pages through port 443. This happened unexpectedly, I assume when a renewal kicked in automatically. Following are twice replicated steps. I removed all site definitions in sites-enabled and reduced the server to its simplest expression: one application in http mode only. The output of nginx -T is at bottom. the unencrypted pages serve as expected. I then ran sudo certbot --nginx and selected 1 for the only 3rd

certbot --nginx generates PR_END_OF_FILE_ERROR

女生的网名这么多〃 提交于 2021-02-11 14:59:40
问题 a Ubuntu 16.04.6 LTS VPS running nginx is presently bricked in terms of serving pages through port 443. This happened unexpectedly, I assume when a renewal kicked in automatically. Following are twice replicated steps. I removed all site definitions in sites-enabled and reduced the server to its simplest expression: one application in http mode only. The output of nginx -T is at bottom. the unencrypted pages serve as expected. I then ran sudo certbot --nginx and selected 1 for the only 3rd

Which comes first - creating the nginx site `.conf` file or running `certbot-auto certonly`?

孤人 提交于 2021-01-29 12:14:49
问题 I'm trying to automate the setup of certbot + nginx on a server using Ansible. The first time it runs, there are no letsencrypt certificates (yet). However I create the nginx conf as follows, referencing SSL/cert directories that will be created by certbot server { listen 443 ssl; server_name example.co; # ... # SSL ssl_certificate /etc/letsencrypt/live/example.co/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/example.co/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf;

How to fix ImportError: No module named cryptography?

孤者浪人 提交于 2021-01-27 05:38:34
问题 I want to auto renew certificate via certbot, but not working, got error "ImportError: No module named cryptography" # ./certbot-auto --dry-run Error: couldn't get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 7, in from certbot.main import main File "/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/certbot/main.py", line 10, in import josepy as jose File "/opt/eff