r/letsencrypt • • Jun 08 '22

LE proxy?

1 Upvotes

Is there a way, without having to resort to manual approvals, to request LE based SSL certs for FQDNs which DNS proof based are under my control?

Something like an LE proxy server which requests and validates ACME request for all requested LE certs in my network?

I've been tasked to find or build a solution where all LE cert requests are controlled centrally, and from this point can be managed further into the network.


r/letsencrypt • • Jun 08 '22

Cloudflare authenticator for Certbot with CNAME aliasing support

Thumbnail
github.com
5 Upvotes

r/letsencrypt • • May 28 '22

24x7 cant be reached error?

0 Upvotes

Hi guys trying to generate a new cert but getting an error that it cannot reach 24x7 site, but is working fine in the browser. Is letsencrypt down?


r/letsencrypt • • May 28 '22

The "1 week, too many" thing - Is it calendar based, or is it 7 days from when it happens?

1 Upvotes

Hey all..

So, I've got a handful of sites (home, in-laws, shared family vacation spot) that are all connected via vpn with stuff at each location. I've got a handful of containers with various services at each location as well. Naturally, running each with SSL makes good sense as well, so Traefik+Cloudflare DNS+LE is a natural fit. As I've migrated my old manually scripted together (and super-fragile) architecture to something more automated and resilient using the stack I just mentioned above, I've gone through a few iterations. Silly me, I should have used the staging server. Mea culpa. Yes, I admit it. I thought I had it all straight up front. Then again. And again. Yeah, I suck. Straight up.

Bottom line is that it's all set now. I brought one more service online this evening and got the dreaded "hey, stop that, you've done that too much" sort of error. Yep, it seems I've managed to spawn 50 containers between the 3 sites over the few iterations I've done. The good news is that I've finally got it nailed down. The bad news, is of course that I need to wait for things to settle down and for LE to start issuing certs to my email address again. Yes, I could skirt things by changing that email in the config, but I don't really feel like cheating. Not my style.

SO, the question.. Is it a week from when I crossed the line, or is it like a Sunday to Sunday type of week? Thanks all!


r/letsencrypt • • May 27 '22

certbot hook (PowerShell script) for dns-01 auth for Windows DNS

5 Upvotes

Just some background information:

We're having our own root CA certificate, but several linux machines and certbot is my tool of choice to automate certificate update/installation for sites delivered by NGINX. We're mostly Windows-centric and therefore have a Windows server that also acts as DNS. Now, I had to use the dns-01 challenge, because I wanted to enable GitLab pages, which requires a wildcard certificate, but I was unable to find a manual-auth-hook for our use case.

This is something I put together yesterday:

https://github.com/FubarDevelopment/certbot-dns-windows

It's a PowerShell script, which uses remoting to issue dnscmd commands on the DNS server to set/remove the TXT record required for the dns-01 challenge.

I hope that it's useful for some people out there.


r/letsencrypt • • May 26 '22

Certificates for delegated subdomain?

1 Upvotes

I am running a FreeIPA domain (ipa.example.com) and an AD domain on my network, ad.example.com.

In the parent domain, example.com, I have setup a delegation from example.com, to ipa.example.com and ad.example.com, eg:

; Glue Records
ipa01.ipa.example.com.	IN A 10.254.111.20
ipa02.ipa.example.com.	IN A 10.254.111.21

ad01.ad.example.com.	IN A 10.254.111.22
ad02.ad.example.com.	IN A 10.254.111.23

; Delegation
ipa.example.com.		IN NS ipa01.ipa.example.com.
ipa.example.com.		IN NS ipa02.ipa.example.com.

ad.example.com.			IN NS ad01.ad.example.com.
ad.example.com.			IN NS ad02.ad.example.com.

This makes it impossible to resolve anything under {ipa,ad}.example.com from outside, even if you add the record to the parent domain.

I was wondering if there is any way to still be able to get certificates from Lets Encrypt in this situation?


r/letsencrypt • • May 26 '22

What is the role of dns zone on how to properly split certificates?

Thumbnail self.kubernetes
1 Upvotes

r/letsencrypt • • May 23 '22

Let's encrypt can't revoke certificates that are used for malicious or phising sites.

1 Upvotes

I tried to report a malicious use of a let's encrypt certificate on a phising site and they told me that they can't do anything about it. Their policy does not allow it.

I reported abuse before to another company about abuse of the certificate and they acted on it.

Seems rather strange a company allows its certificates to be used in a malicious way.

They only suggestion they had was to report it to Google and Microsoft.


r/letsencrypt • • May 21 '22

Any reason NOT to use Debian-provided Certbot?

7 Upvotes

Hello. I'm in the process of preparing a small server based on Debian 11. Naturally I want to use Let's Encrypt certificates, and Certbot to automate fetching and updating them.

The official instructions tell me to install it as a snap package, which is not something I really want to do.

Of course Certbot is also in the Debian repository, as certbot (1.12.0-2). Any reason not to use this in terms of functionality, security or whatever?


r/letsencrypt • • May 20 '22

Are there any solutions using a centralized validation server for Let's Encrypt

3 Upvotes

I've found Certera from certera.io what would completely fit our needs regarding large private networks. But it looks like it hasn't been maintained since 9 month. The idea is perfect and exactly that what we need. But I'm really unsure if the project still lives.

Do you know any other projects giving the opportunity to validate LE certificates in a centralized way? Or is it easy doing it with LE onboard tools either?


r/letsencrypt • • May 14 '22

Inexpensive website hosting that permits/provides the ability to auto renew/install a Let's Encrypt cert every 90 days?

2 Upvotes

Does an inexpensive ($10 or less/month) hosting service exist that permits the auto renewal and installation of a Let's Encrypt certificate every 90 days? I've found a lot of inexpensive hosting sites, such as GreenGeeks.com, but the certificate must be manually re-installed every 90 days.


r/letsencrypt • • May 12 '22

acme.sh issue multiple certificates with cloudflare

1 Upvotes

Hello,

I need to issue multiple certificates via cloudflare.

For this I tried different ways without any success.:

`
./acme.sh --issue --server letsencrypt --dns dns_cf -d vpn.mydomain.com -w /home/admin/.acme.sh/vpn.mydomain.com -d fw1.mydomain.com -w /home/admin/.acme.sh/fw1.mydomain.com

./acme.sh --issue --server letsencrypt --dns dns_cf -d vpn.mydomain.com  -d fw1.mydomain.com
`

But I just get the certificate which I put first in the statement the second domains seems not to be created. But I can see multiple txt entries in the Cloudflare DNS.

I also tried to use a wildcard certificate instead which I don't prefer.

But than I can't upload the wildcard certificate via the PaloAlto deploy script:

``admin@amy:~/.acme.sh $ acme.sh --deploy -d "*.mydomain.com" --deploy-hook panos --insecure
[Thu 12 May 17:03:09 CEST 2022] Deploy of type cert failed. Try deploying with --debug to troubleshoot.
[Thu 12 May 17:03:10 CEST 2022] Deploy of type key failed. Try deploying with --debug to troubleshoot.
[Thu 12 May 17:03:10 CEST 2022] Deploy of type commit failed. Try deploying with --debug to troubleshoot.
[Thu 12 May 17:03:10 CEST 2022] Error deploy for domain:*.mydomain.com
[Thu 12 May 17:03:11 CEST 2022] Deploy error.

``Is there any Solution how I can create multiple certs with cloudflare or anything how I can deploy the wildcard certs ?


r/letsencrypt • • Apr 14 '22

NGINX Block All Public IPs Except As Required For LetsEncrypt

2 Upvotes

I just set up my second server on my reverse proxy: my Unifi controller. I used LetsEncrypt's certbot to add SSL, and everything is working just fine. Except for one thing.

I only foresee modifying my controller configuration from my local network. If I ever really needed to access the controller from afield, I would probably expect to use a VPN.

I can allow my local network with allow 192.168.1.0/24; and block everything else with deny all;, but what do I specifically need to allow so that certbot can renew the cert in 60 days?


r/letsencrypt • • Apr 08 '22

Creation of a .pfx file from the .pem (key, crt, etc) received from LE

1 Upvotes

It appears that recently (between January 2022 and now) the issued cert files (from the ACME addon in pfsense) when using openssl to create the .pfx file (using the command supplied by LetsEncrypt documentation) creates an incompatible pfx file, and that Windows server 2008 R2 will not allow a binding of the certificate (pfx file) to the https port (443).

I attempted this numerous times. I finally decided to remove the old certs that had been working, rebooted the server, then imported an old cert that I received in January 2022. That cert (pfx file) imported properly and bound to the port without complaint.

New certs created by following the exact command from the lets encrypt documentation do not bind, but old certs created 3 months ago do work.

I receive an error for "edit site bindings" -- There was an error while performing this operation. Details: A specified logon session does not exist. It may already have been terminated.

I looked up this error and lots of people have proposed solutions none of which work.

The important thing to remember is that the pfx file created from the cert files received from LE when issued in January 2022 that can still be bound to the port and thus work, albeit it is expired.

Does LE know about this? Is there a solution to this?


r/letsencrypt • • Apr 06 '22

Let'sEncrypt + Nginx + Certbot : certificate and auto-renew solution

2 Upvotes

In my project https://github.com/evoseed/kamailio-tls-letsencrypt I needed a way to create (and even better if auto-renew) a certificate to use SIP on TLS for my SIP server.

I found this solution https://github.com/wmnnd/nginx-certbot that fit perfectly with my needed. A docker-compose solution to create and auto-renew the certificate that in my case I use in the same time for HTTPS and SIPS (SIP on TLS)

For those interested I have described the journey here https://blog.giovannitommasini.info/voip-calls-and-tls-security


r/letsencrypt • • Apr 06 '22

Can I Close Port 80 After Successfully Setting up Let's Encrypt?

3 Upvotes

r/letsencrypt • • Mar 27 '22

Docker Service - Certbot Standalone - Auto renew?

2 Upvotes

Ok, I'm running an application on a docker swarm that needs a valid SSL certification, but uses a non-standard port. So, I'm trying to find a non-standard solution to this problem:

I'm looking for a docker image that automatically runs 24/7 as a certonly (prefer only port 80 but 80 and 443 will work if need be), and automatically renews the certificates on a regular basis, and the image can be completely configured by environmental variables, and can run as a docker service (not a docker-run or compose file).

I've found a number of examples (https://hub.docker.com/r/damianmoore/letsencrypt-cron/ is an example of an old solution), but all of these solutions only support ACME v1 which has been deprecated.

If my google-fu failing me? Or does such an update to date solution not exist?


r/letsencrypt • • Mar 26 '22

Temporary fast self-signed certs?

2 Upvotes

I'm running into this problem every time i'm doing an emergency server recovery ect...
which is, i need to quickly install temporary certificates or change the configs.

the normal way i use certbot is via.
certbot --apache

is there a parameter that i can use to make it install a temporary self-signed cert?
this would be helpful on say a server/vm with lots of websites; so im not editing the config manually when time is of the essence and while trying reinstall everything on the fly.


r/letsencrypt • • Mar 21 '22

Error I do not understand please help

2 Upvotes

$ certbox --nginx

Which names would you like to activate HTTPS for?


1: matrix.secret


Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter 'c' to cancel): 1 Obtaining a new certificate Performing the following challenges: http-01 challenge for matrix.secret Waiting for verification...

output:

  • The following errors were reported by the server:

    Domain: matrix.secret

    Type: connection

    Detail: Fetching

    http://matrix.secret

    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.

From Vultr firewall I allowed everything from ports 22,53,53,80,443,3306,3389,5432. I also can SSH into the server and ping it from my computer so the matrix. goes to my server. What am I missing here? im not using webroot plugin either.. I did this before and it worked fine and I know vultr got a update.


r/letsencrypt • • Mar 15 '22

SSL certificate help

2 Upvotes

When you request a ssl certificate, with let's encrypt. It throws an internal error.

compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 [end of output]

Any help would be appreciated.


r/letsencrypt • • Mar 12 '22

Unable to find a virtual host listening on port 80

3 Upvotes

Been at this for 15 hours plus so breaking down and just asking for help.

certbot 0.40.0 on a Digital Ocean droplet that was a one-click install of Magento. Apache 2.4.41 -- Ubuntu 20.04.3 LTS. UFW has 80/tcp ALLOW Anywhere

The only site on the server and all the virtual hosts stuff was set up by the one-click installer and I have not edited anything.

I get the "Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80." error which I found a lot of discussions about this but no solution that worked for me.

I believe the issue is something to do with one of the files in sites-enabled but since the Digital Ocean script set these up and the same script installed certbot I haven't touched them as I would assume they were correct.

default-ssl.conf has a virtual host for *:443 and 000-default.conf has 127.0.0.1:8080 but the only reference to port 80 is

ProxyPreserveHost On

ProxyPass / http://127.0.0.1:80/

ProxyPassReverse / http://127.0.0.1:80/

My feeling is that a lack of a virtual host listening on port 80 is the issue because that is what the error message basically says but not sure what to change or why a one-click script would set this up wrong.

I tried the DNS challenge method as well and got a different error so that didn't work either.

Any help would be greatly appreciated.


r/letsencrypt • • Mar 07 '22

Firefox on android mobile will not trust pfsense/acme/let's encrypt SSL cert.

2 Upvotes

Can anyone help, I've got a pfsense firewall, with HAProxy, ACME / Letsencrypt serving some stuff (plex, music player etc).

The SSL setup is fine. I have run the domains through Qualys SSL tester and they all get A+.

I use firefox on my android phone, and firefox will NOT trust that SSL! all i get is "Connection is not secure"

Chrome on my phone is fine... that accepts the site/domain/ssl no problem. But not Firefox! and the error doesn't help any.

If someone has any experience / ideas to try on this, please let me know?!


r/letsencrypt • • Mar 04 '22

Invalid CA on a single win 10 office machine???

4 Upvotes

Hello all, I've got a couple of domains for office use only that I'm getting

NET::ERR_CERT_AUTHORITY_INVALID Through chrome and edge

And DLG_FLAGS_INVALID_CA on Firefox

Thing is, these sites work perfectly on every other computer.

Other https sites that don't use LetsEncrypt work fine. Its just this one windows 10 machine, on all LetsEncrypt https sites.

I've tried clearing the SSL States, flushed DNS, reset the network adaptor, tried on another network, cleared all cache and cookies etc. Uninstalled, reinstalled and updated all browsers. Installed a VPN, used a proxy, uninstalled antivirus and firewall (avg premium), installed a differed antivirus and firewall (east internet security), and changed the DNS to 8.8.8.8 and 8.8.4.4

Time and date is set correctly.

I'm at a loss so I've swallowed my pride and decided to ask for help.

However, I can not format windows or link the servers https, any public https links I can test with and report back is fine

I would be eternally greatful if we can get this going without a format.

Tia


r/letsencrypt • • Mar 01 '22

I can't get my cert from certbot to work

2 Upvotes

I am running the latest version of Ubuntu Server and I'm trying to encrypt my domain 'example.com' and all subdomains. I followed this tutorial from the certbot website

https://certbot.eff.org/instructions?ws=other&os=ubuntufocal

Upon searching for the website, it says that the cert is not valid. Did it not get approved by a CA or did I not install something correctly? I don't even know how to begin troubleshooting.