Questions tagged [certbot]

Use this tag if a question is about certbot

13 questions
35
votes
9 answers

How to install Certbot plugins?

I installed Certbot by following this tutorial: sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-nginx And now I want to set up my cert, but I need the dns-digitalocean plugin: # certbot certonly…
mpen
  • 601
  • 1
  • 6
  • 10
9
votes
3 answers

Is there an ansible module that check whether a port is not in LISTEN state?

The Ansible module index has been consulted, but no module was found that checks whether a port is available? Is there a module that supports this? What does available mean? Available means that a port, e.g. 80 is not in LISTEN state. The following…
030
  • 13,383
  • 17
  • 76
  • 178
4
votes
3 answers

What are some reasons for using an Ansible role for Certbot vs. Ansible's native `acme_certificate` module?

To get Let's Encrypt HTTPS certificates for their Web sites, I'm aware of quite a few folks using a particular role, which wraps Certbot, a standalone application not native to Ansible. There is, however, a native Ansible module called…
colan
  • 173
  • 1
  • 6
3
votes
1 answer

certbot renewal fails over ipv6

I'm using LetsEncrypt CA for SSL certificates with a cron job that renews them. Recently moved one of our domains to dual ipv4/ipv6 stack and now the certificate renewal fails for that domain: Attempting to renew cert (nodrama.io) from…
fbielejec
  • 183
  • 5
3
votes
1 answer

AWS Security group rule for certbot renewal

I want to add a rule to my aws security group to allow for incoming traffic from the acme server (I guess it is acme-v01.api.letsencrypt.org) to issue and automate the renewal of my cert; What is the best way of doing this, given that sg rules do…
pkaramol
  • 1,007
  • 2
  • 8
  • 13
3
votes
1 answer

Where does multi-role variable goes in Ansible?

There are multiple kind of variables in Ansible. And I find it overwhelming to wrap my head around them. Some of them are: The one we can write in roles//vars/main.yml The one we can write in the tasks file itself. Then there are group_vars. Then…
2
votes
0 answers

404 Not Found when obtaining new certificates for nginx

I'm trying to obtain ssl certificate for the following server: server { server_name www.nodrama.io; rewrite ^(.*) http://nodrama.io$1 permanent; } server { server_name nodrama.io; listen 80; listen [::]:80 ipv6only=on; error_page…
fbielejec
  • 183
  • 5
2
votes
2 answers

How do I set up certbot, with Nginx, both in a Docker container?

Title says it all I guess. I didn't even know what Ubuntu/Nginx/Docker/etc was a week ago but I've managed to set up Docker/Docker Compose, PHP-FPM, PHPMyAdmin + Gitlab on a reverse proxy through Nginx with somewhat difficulty. My Github repo…
Plykiya
  • 31
  • 1
  • 4
1
vote
1 answer

Is it required to move a domain to Google DNS in order to use certbot in kubernetes on Google Cloud platform?

Follow-up to What are trusted providers that offer wildcard certificates and associated costs to be used in an Orchestration Platform like Kubernetes? With https://github.com/jetstack/cert-manager it would be possible to automatically renew…
030
  • 13,383
  • 17
  • 76
  • 178
1
vote
1 answer

How to performance test websites using Gatling that are encrypted using Certbot?

Aim to performance test a UI Method Run Gatling recorder Once the gatling recorder proxy has been started, configure this proxy in the webbrowser that will be used for the test Login to the UI Navigate to the website Save the…
030
  • 13,383
  • 17
  • 76
  • 178
1
vote
1 answer

Snake bites its tail problem automating configuration of Certbot with Ansible

I have a public web-site with Nginx in front of it. We use free Letsencrypt certificates to set up https. These are acquired and renewed by Certbot program. I want to implement entire servers configuration with Ansible playbooks. These playbooks…
Gherman
  • 63
  • 6
0
votes
2 answers

how to stop "docker run -it certbot/certbot"?

I'm newbie in docker. I use below command to run the certbot image twice: docker run --rm certbot/certbot I'd like to stop it but I can't. This command has started to produce many containers and these containers are automatically closed and…
Arani
  • 101
  • 3
-3
votes
1 answer

Ansible translation: Installing Apache + Certbot in Ubuntu

I currently have a doubt for my last line of code to make it work in Ansible, the code is the following: sudo apt-get update sudo apt-get upgrade sudo apt-get install apache2 python-letsencrypt-apache sudo letsencrypt --apache sudo apt-get…
Brask
  • 95
  • 1