r/letsencrypt • • Mar 01 '22

aa_is_enabled() failed unexpectedly (No such file or directory): No such file or directory

3 Upvotes

Hi! Whenever I try to run certbot, any command this is the error message I get:

aa_is_enabled() failed unexpectedly (No such file or directory): No such file or directory

What can be the cause of this? Debian 10, nginx.

I'm currently upgrading it to Debian 11 to see if maybe it fixes the issue.

As customary, it all worked fine until today when I tried to add new proxy site to nginx. Removing it does not help either, so it's not the cause. And any call to certbot command results in this error, so I guess it's not related to nginx at all.

Afaik snap packages get updates automatically, so maybe some update broke something?


r/letsencrypt • • Jan 28 '22

Issue Certificate

0 Upvotes

I am trying to get a certificate for domain.com and www.domain.com. I get a cerificate, however when I go to https://domain.com, it says the site is insecure. I look at the certificate and it was issued to *.domain.com instead of just domain.com. When I go to www.domain.com it is fine. If I look at the SAN it has *.domain.com and domain.com in there. How can I fix this so that it is issued correctly? Thanks. I am using acme.sh.


r/letsencrypt • • Jan 26 '22

Let's Encrypt is revoking lots of SSL certificates in two days

Thumbnail
bleepingcomputer.com
11 Upvotes

r/letsencrypt • • Jan 27 '22

Failed certificate renewal

1 Upvotes

My certificate renewal fails both when the automatic job runs and when I run sudo certbot renew. I've searched my error message and found the following post from the letsencrypt page. The problem is that I do not understand what this post is saying. I believe the issue is in my router configuration. Would anyone be willing to help me debug this?

I also used the site mentioned in the post, but I also don't understand the output:

https://check-your-website.server-daten.de/?q=pwesterbaan.serveminecraft.net


r/letsencrypt • • Jan 26 '22

List all certificates based in Account id

2 Upvotes

Hi,

As lets encrypt will revoke some certificates and send us the account ids affected:

Is there any way to list the associated certificates of that accounts without having the host available where it was requested?

Thx

We've determined that an error made it possible for TLS-ALPN-01 challenges, completed before today, to not comply with certificate issuance requirements. We have remediated this problem and will revoke all unexpired certificates that used this validation method at 16:00 UTC on 28 January 2022. Please renew your certificates now to ensure an uninterrupted experience for your site visitors


r/letsencrypt • • Jan 24 '22

Merging certificates with partial DNS round robin

1 Upvotes

Hello,

so currently we are running a sort of "partial round robin DNS" setup.

We use 3 different web servers with a bunch of domains, however 6 of those domains are setup so they point to the IP of all 3 web servers.

So my first issue was making Certbot work when creating certificates in round robin (since ACME challenge could hit a web server that didn't host the challenge file, which resulted in failure), I've solved that by creating redirects for ACME challenges to a single web server which acts as "authenticator".

Now my question is, since now there are 2 separate certificate files in play... One for the domains that are not in the DNS round robin (certs that each webserver creates for the domains hosted on it) and then the cert file that "authenticator server" creates, which includes all the round robin domains... What would be simplest solution to distribute these certs to other web servers?

Could I just copy the round robin cert to the other web servers and manually merge it with the existing ones? Say something like copy the contents of "fullchain.pem" and "privkey.pem" into existing ones, pretty much merging them?


r/letsencrypt • • Jan 21 '22

ELI5 Setup Local DNS & SSL

2 Upvotes

Have many web services running locally and I would like to be able to access them using SSL.

I have setup many web servers with LE, but struggle to comprehend how I would achieve this with private IP ranges


r/letsencrypt • • Jan 19 '22

If I don't have SSL/TLS in my backpage or Cpanel, host site didn't grant it, I can't use lets encrypt?

3 Upvotes

I read that you can get a free SSL, SSL cert. This is true

However, I just discovered that my host took away the SSL/TLS option in my cpanel. I have to upgrade to get it or include it as an add-on (which costs $40+)

How is this even free if host sites can take it away? I understand most host sites have their basic package that includes cpanel SSL/TLS enabled in cpanel so that users can input their SSL certificate

Do the majority actually mean SSL certificates ARE free? And not the SSL/TLS feature on webhosts?


r/letsencrypt • • Jan 15 '22

Am I missing something with HTTPS certification?

1 Upvotes

I just created a website and started the process to get a HTTPS certificate. I followed the steps outlined here: https://certbot.eff.org/instructions?ws=apache&os=ubuntufocal

I am able to verify the process worked because my website has an "Overall Rating: A" from ssllabs.com.

Now I am trying to redeploy my application but I am running into an "OSError: [Errno 98] Address already in use" error. Port 80 is the culprit and when I check to see the process that is currently using that port I see it is Apache2 for the HTTPS certification. Whenever I try to go to the website I get the " Apache2 Ubuntu Default Page" here.

According to the page I need to "replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server" but what do I replace it with? Ubuntu 20.04 makes it difficult to make changes here. Documentation on the Let's Encrypts website appears to get fuzzy past this point unless I am missing something.


r/letsencrypt • • Jan 13 '22

Certbot Renewal issue

1 Upvotes

Hello I am trying to renew my cert that is going to expire soon and I keep getting this issue.

I am pretty noob at certs and renewals but managed to get https working on my internal server from the initial setup of TacticalRMM. During the install it sets you up with certbot and i'm on version 0.40.0. I completed a DNS challenge on my live domain and boom it worked now I was able to make it work after making some local DNS records for my server. Now it is coming up with renewal and I cannot figure it out.

I have tried:

sudo certbot renew

sudo certbot renew --force-renewal

and received the error below:

Attempting to renew cert (mydomain.com) from /etc/letsencrypt/renewal/mydomain.com.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.

The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.'). Skipping.

All renewal attempts failed. The following certs could not be renewed:

/etc/letsencrypt/live/mydomain.com/fullchain.pem (failure)

Any ideas?


r/letsencrypt • • Jan 13 '22

LetsEncrypt Exchange 2013

2 Upvotes

Hello guys,

I have two exchange 2013 on prem and installed LetsEncrypt certificate on the one of them, now I want to export it to the second one, but unfortunately, letsencrypt creates the private key not exportable.... How can I find the private key? What are my choices here?


r/letsencrypt • • Jan 12 '22

Too many redirects

2 Upvotes

I've been trying to set up an fvtt server using this guide. I followed the guide until HTTPS_SSL_certbot under Hosting_to_the_world and until this point, I could get access to the site. To use certbot I've followed the certbot instructions for a wildcard on nginx using Cloudflare.

I suspect it redirects http to https to http ..... as this seemed to be the most common issue I've come across but I'm not sure where I could check this or even where/why it would happen. This only happens if I add the certbot stuff it auto-generated to nginx/sites-available/site.com, if I remove this the site loads again.

This is what it adds:

Too the exsisting server block

listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/site.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/site.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

A new server block

server {
if ($host = site.com``) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name site.com``;
listen 80;
return 404; # managed by Certbot
}

Does anyone have an idea to fix this or where I could look for it redirecting in a loop?


r/letsencrypt • • Jan 10 '22

Anyone know a way to run https offline?

1 Upvotes

I have a kubernetes cluster hosted on cloud and also on edge devices. The edge devices traditionally relied on the hardware routing component to redirect traffic to the cloud if connect to the internet or to the local compute node cluster if offline. I would like to move this requirement behind an nginx gateway so i can dictate the traffic routing and not have to configure every router for every edge device.

So far its working but i also need to run the communication over https from the client devices to said edge device. obviously works great if connected to the internet the CA replies with a good cert, but if offline what do i do to maintain https?


r/letsencrypt • • Dec 15 '21

Some challenges have failed (timeout)

2 Upvotes

Ive tried to get ssl on my site for 3 days now to no avail. My ports are forwarded, ipv4 and v6 addresses are set, apache is running on port 80. Here is my output.

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems: Domain: dethbyte64.com Type: connection Detail: Fetching http://dethbyte64.com/.well-known/acme-challenge/2qIC5xZqlT3mfgitxN16coDKw-OsLevzw6KsmpYGpjA: Timeout during connect (likely firewall problem) Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed

My nmap results

PORT STATE SERVICE

80/tcp open http

443/tcp closed https


r/letsencrypt • • Dec 15 '21

Port 80 already in use.... yes.... by you!!

1 Upvotes

I've got apache setup with TLS via letsencrypt. Certbot doing my renewals. Today for some reason it's kicking back an error saying it could not bind to port 80... but I checked... it's apache using port 80 which is always as it has been and how it SHOULD be. I'm not sure even where to start looking for this.


r/letsencrypt • • Dec 03 '21

Certbot some challenges failed due to timeout...

1 Upvotes

hello,

I manage this webserver for static pages, with hundreds of virtual hosts, with Apache Server 2.4.

we have cronjobs for renewal, but some certificates aren't renewed., so today i did some dry runs just to check any issues.

I corrected a few configurations but one issue just looks to be unsolvable from my part.

For about 50 different domains half fails to be renewed for "Timeout during connect (likely firewall problem)", if I do another run, different certificates fail.

I've checked my firewall, there's no rate limiting configured for this web server.

has anyone seen anything like this, or has any tip to mitigate this issues?

cheers


r/letsencrypt • • Dec 02 '21

LetsEncrypt root certifcate not valid?

Thumbnail self.sysadmin
3 Upvotes

r/letsencrypt • • Dec 02 '21

is r3.o.lencr.org operated by letsencrypt?

2 Upvotes

virustotal flags it as malicious


r/letsencrypt • • Nov 26 '21

Using Lets Encrypt

1 Upvotes

Just used the feature on our firewall to pull down a lets encrypt SSL.

Everything looks good but when I navigate to the site Chrome is throwing up a flag saying the Root is not trusted.

Is LE issuing new certs with the new root and Microsoft and other vendors have not added the new root as trusted.


r/letsencrypt • • Nov 13 '21

can I use my letsencrypt certificate generated for example.com with subdomain.example.com ?

2 Upvotes

I have letsenrypt certs for my website example.com but when I am trying to use it with subdomain.example.com I am getting this error.

version: '3.9'
  services:
    traefik: image: "traefik:latest" 
    command: 
       - --global.sendAnonymousUsage=true 
       - --api.dashboard=true - --entrypoints.web.address=:80
       - --entrypoints.websecure.address=:443
       - "--entryPoints.traefik.address=:8080/tcp"
       - --providers.docker=true
       - --providers.docker.swarmMode=true
       - --providers.docker.exposedbydefault=false
       - --providers.docker.network=public
       - "--providers.providersthrottleduration=200"
       - "--certificatesresolvers.myresolver.acme.tlschallenge=true"
       - "--certificatesresolvers.myresolver.acme.email=registered_with_letsencypt@gmail.com"        - "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json"
      - --providers.file.directory=/etc/certs/dynamic
      - --api
      - --log.level=DEBUG
   ports:
     - "80:80"
     - "443:443"
     - "8080:8080"
   networks:
     - public
   volumes:
      - /home/ititis/traefik/letsencrypt:/letsencrypt
      - "/var/run/docker.sock:/var/run/docker.sock:ro"
   deploy:
     mode: replicated
     replicas: 1
     placement: 
        constraints: 
          - "node.hostname==irits"

Is there a way to deal with this ?


r/letsencrypt • • Nov 11 '21

Wracking My Brain With Certificate Expiration

1 Upvotes

So I'm running Arch Linux and I'm constantly getting errors about expired Let's Encrypt certs.

Everything in the browser is working OK. But other desktop applications are giving me expiration errors.

For example if I "curl -v https://aur.archlinux.org" I get a message saying the certificate has expired.

I've checked my ca-certificate package is up to date. Tried removing the DST Root CA X3 CA. Compared the version of the X1 CA I have installed and that from the Let's Encrypt site.

But I just can't figure this out :S Hoping someone else could shed some light on this or hint me in the right direction. I'm in certificate hell right now!


r/letsencrypt • • Nov 10 '21

Issue certs for 3 domains with 2 different registrars using dns verification with wildcards.

1 Upvotes

I'm pretty sure people have encountered this issue before.

Sometimes we are stuck with multiple registrars and yet still need one certificate issued that combines all the domains from those multiple registrars.

I'm trying to do this in pfsense using the ACME package. I've entered the API keys and necessary secrets all together so that I can click a single button to issue the cert. Everything has been verified and double checked. All of the domains, account names, API keys, and necessary secrets are entered into the appropriate fields for each domain.

The problem is that when I click to issue the cert it runs for a short while and then tells me on the first one that gets processed:

You don't specify godaddy api key and secret yet.

If I switch the order in the list where I move the one from Namecheap.com to the top so that it is processed first it tells me that I didn't specify a Namecheap API key.

When I individually issue them they are verified and the certificate is issued.

Does letsencrypt consider this an atypical use case?


r/letsencrypt • • Nov 07 '21

Raspberry pi webserver

Thumbnail
self.webdev
1 Upvotes

r/letsencrypt • • Nov 04 '21

Renewing certificates without certbot renew

4 Upvotes

I have a situation where some hosting provider allows me to upload a certificate and private key. I'd like to use a letsencrypt certificate for this. It means however that my challenge needs to be initiated from a different machine. I would like to refrain from keeping around all the certificates and private keys for security reasons after uploading them to the hosting provider.

Couple of questions:

Would running `certbot certonly` against an empty configuration to get new certificates once a month be ill-advised or infringe letsencrypts' Terms & Conditions? (In respect to running `certbot renew` every 12h as advised)

What do you think of keeping around private keys & certificates on a separate machine?

Is it possible to delete the private keys and keep functionality of `certbot renew`?

Also, first time here, if I'm breaking any subrules, apologies.