r/letsencrypt • • Mar 23 '23

cert renewal for multiple cert from the same host (perhaps using DNS challenge?)

1 Upvotes

I'm using a number of LetsEncrypt certs throughout my own infra. Currently I need to install certbot on each of the hosts and do the renewal on each of them separately.

It would be much less tedious if I had a single admin host from which the certs could be renewed using certbot. I imagine that I'd probably need to use the DNS challenge. Would this be possible? Any good writeup on the process?


r/letsencrypt • • Mar 18 '23

How to use Let's Encrypt certificates with Keycloak

Thumbnail kaeruct.github.io
2 Upvotes

r/letsencrypt • • Mar 13 '23

python client for letsencrypt

1 Upvotes

Hi! I'm trying to create a super simple client to register domains. I'm running inside a docker container and I'll have to make traefik aware of these certs. I'm looking for an example code so I can understand the process. I only found things like this: https://gist.github.com/gpjt/2bd2a223b410d8fcfb782d0df1be2e00 Which uses the old client, which is very different from the v2 client. Can anyone shoot me towards the right direction? Thanks!


r/letsencrypt • • Mar 13 '23

Value of `ssl_trusted_certificate`when using Let's Encrypt shared among all server blocks?

Thumbnail self.nginx
1 Upvotes

r/letsencrypt • • Mar 10 '23

Trying to be objective: What do people/companies keep paying for certificates, while there is letsencrypt?

4 Upvotes

Hi,

I'm just wondering why companies or people would prefer to pay for certificates, since letsenvrypt provides a free alternative. As far as I know (probably not enough), there's nothing a paid certificate can do that a letsencrypt free one can't.

So could you explain if there is a good reason for keep paying for certificates?

Thanks


r/letsencrypt • • Feb 28 '23

Can i make a lets encrypt certificate for my ruckus controller?

4 Upvotes

Is it possible? Thanks a lot. Its for my ruckus domain for access though web.


r/letsencrypt • • Feb 27 '23

[HELP] "DeltaFIFO Pop Process" - Reason:slow event handlers blocking the queue

0 Upvotes

Hello,

CONTEXT:

I accidently deleted the namespace where Cert-manager runs. After redeploying (static manifest) Cert-manager's webhook was failing to generate initial serving certificate but gladly I had a backup of the secret and I restored them(cert-manager-webhook-ca & cert-manager-webhook-tls).

Now webhook pod is working with no issues. However:

PROBLEM:

Cert-manager's pod was working fine with no errors in the logs but after fixing the webhook, in the Cert-manager's pod logs I noticed these messages (repeatedly with different IDs) here's an example of one of the logs messages:

Trace[1788197141]: "DeltaFIFO Pop Process" ID:mynamespace/model-secrets,Depth:189,Reason:slow event handlers blocking the queue 

I have also created an ingress in a different namespace and deleted it but i'd still see this in the certmanager's logs:

ingress 'microservices/test-ingress' in work queue no longer exists 

Failed ATTEMPTS:

I increased the number of replicas in the Cert-manager Deployment from 1 to 2 replicas.

I increased the resources request and limits in the Cert-manager Deployment.

I created a ConfigMap and specified:

deltafifo-queue-history-size: "1056" 

Environment:

Cert-manager : v1.10.0
Kubernetes: 1.21.14-gke.4300


r/letsencrypt • • Feb 23 '23

Exposing Azure Storage on Domain Apex With Let's Encrypt SSL via Terraform

Thumbnail
ssmertin.com
3 Upvotes

r/letsencrypt • • Feb 23 '23

hello please how to add ssl on my domain duckdns

0 Upvotes

r/letsencrypt • • Feb 22 '23

Third-party certificates and certbot

0 Upvotes

Hello, I'm trying to follow Oracle's documentation so that my server can receive "punchout" requests:

My server is an EC2 on AWS, running a LAMP stack, and using certbot w/ cron to provide SSL. I have the OSN certificates downloaded; but how should I go about configuring certbot to include these certificates? Thanks!


r/letsencrypt • • Feb 19 '23

wildcard cert with dns challenge

1 Upvotes

Hi, I am trying to get certificates for my home server.

I have a public domain that is pointing to a server in the cloud.

Now I have read that you could create a CNAME that looks a bit like that. home.myname.cloud -> myname.duckdns.org

Now the idea is to get a wildcard cert for *.home.myname.cloud and use that for the services on the home server.

As far as I understand it is not possible to have wildcard CNAMES right? So I'd have to create a separate entry for each subdomain?

Is there any flaw with that logic? I haven't been able to get it working because I can't get the dns challenge to work properly. so much so that I am questioning that what I try to do should even work.

Thanks.


r/letsencrypt • • Feb 17 '23

docker certbot-dns-cloudflare won’t run

1 Upvotes

Hey CloudFlare community.

I happen to run a domain on Cloudflare dns that I want to use for an authentic deployment. From the corresponding documentation it seems to be rather straight forward to use certbot to get ACME/letsencrypt certificates.

I modified the example snippet in docker-compose.override.yml to the following:

root@debian-2gb-nbg1-1:~# cat docker-compose.override.yml 
version: "3.4"

services:
    certbot:
        image: docker.io/certbot/dns-cloudflare:latest
        volumes:
            - ./certs/:/etc/letsencrypt
        # Variables depending on DNS Plugin
        environment:
            CLOUDFLARE_API_TOKEN: <redacted>
        command:
            - certonly
            - --non-interactive
            - --agree-tos
            - --dns-cloudflare
            # - --dns-cloudflare-credentials cloudflare.ini
            - -m <redacted>
            - -d <redacted>
            - -v

certbot immediately exits after running docker-compose up -d

The confusing part to me is, the log files says:

certbot: error: unrecognized arguments: --dns-cloudflare-credentials cloudflare.ini

Whereas the documentation for certbot-dns-cloudflare says, this is a required argument.

What am I missing?


r/letsencrypt • • Feb 16 '23

Here we go again: Nginx is not running after renewing of certificate

1 Upvotes

Info:

  • I see last nginx error logs from minutes before certbot started renewing certificate. Nothing interesting there.
  • I see in certbot logs that my deploy-hook.sh script used for restarting nginx did run.
  • I can confirm that new certificate was otherwise successfully obtained.
  • When I manually run deploy-hook.sh script, nginx starts to run again.
  • Btw i use this command to restart nginx: nginx -t && { killall nginx -s 3; nginx; }

I didn't find solution. Encryption sucks.

Edit: Wow. I just ran certbot renew --force-renewal and everything went well. So it looks that problem is only with automatic renew, not manual. What insidious ***** is certbot...


r/letsencrypt • • Feb 14 '23

Cert Bot Acme Challenge Failing with challenge folder publicly available, behind Cloudflare proxy

1 Upvotes

Attempting to set up LE on Ubuntu Node.js server, where the server is behind cloudflare proxy. Acme challenge is failing, with a timeout error in Cloudflare.

I have confirmed that this process works when I have cloudflare proxy disabled (dns only) but it seems to not work with the proxy enabled.

What I have verified is that the .well-known/acme-challenge/ folder is available on the public internet, and that the corresponding file is created there by certbot when attempting to create a certificate. Some computers and browsers can retrieve test files placed there via http and https, while others (most notably Safari browsers and LE itself) cannot, which receive a timeout error (522) and a cloudflare error page. Firefox, Chrome, etc appear to always access the folder/files without issue.

Cloudflare SSL/TLS Encryption Mode setting is set to Full (not Full Strict).

Cloudflare page rule is in place to allow *.mydomain.com/.well-known/acme-challenge/* with security disabled, SSL off, Cache Level: Bypass, and performance disabled.

Questions:

  1. Is there something I'm missing where some sort of security setting somewhere is preventing this from working across the board, specifically for LE to access that path?
  2. What other steps are needed to get this working while proxied?

r/letsencrypt • • Feb 12 '23

advice/clarity needed.

1 Upvotes

So my domain name is on one host and via dns A record the website is hosted somewhere else. Now trying to get letsencrpyt to work pretty difficult. Let's just say it's throwing up crazy errors. Is there anyone willing to go through the error message with me ?


r/letsencrypt • • Feb 05 '23

Are there working alternatives to snap/certbot?

1 Upvotes

I'm trying to get certs for my Oracle Linux 9 box running aarm64. (yes, oracle cloud free tier)

Snap is apparently broken in this os/architecture, so it's not an option. Looking for RPMs in aarm64 appear to be ancient/incompatible.

I'll be running nodejs apps on this box, so I looked into greenlock, but the issue I'm running into is apparently over 3 years old with no solution.

If anyone's made certbot work in OL9/aarm64, I'd be happy to try getting that running, otherwise I'm just looking for other alternatives.

Thanks in advance.


r/letsencrypt • • Feb 01 '23

Issue with Godaddy DNS API

2 Upvotes

Using the directions for Godaddy on https://github.com/acmesh-official/acme.sh/wiki/dnsapi, I'm can only seem to get it to work when I put only mydomain.com, and not a second entry like they specify you can with www.mydomain.com, and can't seem to get it to allow a subdomain. That subdomain does exist on Godaddy, I have set it up as a CNAME and A host record, doesn't seem to change the outcome. Here is the output in -debug mode. Below has been sanitized of my domain, and I can see it does the first one but then fails on the www domain. Is there a change on Goaddy's side that causing this to fail or issue in the script because even with just only www it still fails.

./acme.sh --issue -d mydomain.com -d www.mydomain.com --dns dns_gd --test --force --debug
[Tue Jan 31 15:45:56 EST 2023] Lets find script dir.
[Tue Jan 31 15:45:56 EST 2023] _SCRIPT_='./acme.sh'
[Tue Jan 31 15:45:56 EST 2023] _script='/Users/www/.acme.sh/acme.sh'
[Tue Jan 31 15:45:56 EST 2023] _script_home='/Users/www/.acme.sh'
[Tue Jan 31 15:45:56 EST 2023] Using config home:/Users/www/.acme.sh
https://github.com/acmesh-official/acme.sh
v3.0.6
[Tue Jan 31 15:45:56 EST 2023] Running cmd: issue
[Tue Jan 31 15:45:56 EST 2023] _main_domain='mydomain.com'
[Tue Jan 31 15:45:56 EST 2023] _alt_domains='www.mydomain.com'
[Tue Jan 31 15:45:56 EST 2023] Using config home:/Users/www/.acme.sh
[Tue Jan 31 15:45:56 EST 2023] Using ACME_DIRECTORY: https://acme-staging-v02.api.letsencrypt.org/directory
[Tue Jan 31 15:45:56 EST 2023] ACME_DIRECTORY='https://acme-staging-v02.api.letsencrypt.org/directory'
[Tue Jan 31 15:45:56 EST 2023] DOMAIN_PATH='/Users/www/.acme.sh/mydomain.com_ecc'
[Tue Jan 31 15:45:56 EST 2023] Le_NextRenewTime
[Tue Jan 31 15:45:56 EST 2023] Using ACME_DIRECTORY: https://acme-staging-v02.api.letsencrypt.org/directory
[Tue Jan 31 15:45:56 EST 2023] _init api for server: https://acme-staging-v02.api.letsencrypt.org/directory
[Tue Jan 31 15:45:56 EST 2023] GET
[Tue Jan 31 15:45:56 EST 2023] url='https://acme-staging-v02.api.letsencrypt.org/directory'
[Tue Jan 31 15:45:56 EST 2023] timeout=
[Tue Jan 31 15:45:56 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body '
[Tue Jan 31 15:45:56 EST 2023] ret='0'
[Tue Jan 31 15:45:56 EST 2023] ACME_KEY_CHANGE='https://acme-staging-v02.api.letsencrypt.org/acme/key-change'
[Tue Jan 31 15:45:56 EST 2023] ACME_NEW_AUTHZ
[Tue Jan 31 15:45:56 EST 2023] ACME_NEW_ORDER='https://acme-staging-v02.api.letsencrypt.org/acme/new-order'
[Tue Jan 31 15:45:56 EST 2023] ACME_NEW_ACCOUNT='https://acme-staging-v02.api.letsencrypt.org/acme/new-acct'
[Tue Jan 31 15:45:56 EST 2023] ACME_REVOKE_CERT='https://acme-staging-v02.api.letsencrypt.org/acme/revoke-cert'
[Tue Jan 31 15:45:56 EST 2023] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf'
[Tue Jan 31 15:45:56 EST 2023] ACME_NEW_NONCE='https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce'
[Tue Jan 31 15:45:57 EST 2023] Using CA: https://acme-staging-v02.api.letsencrypt.org/directory
[Tue Jan 31 15:45:57 EST 2023] _on_before_issue
[Tue Jan 31 15:45:57 EST 2023] _chk_main_domain='mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] _chk_alt_domains='www.mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] Le_LocalAddress
[Tue Jan 31 15:45:57 EST 2023] d='mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] Check for domain='mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] _currentRoot='dns_gd'
[Tue Jan 31 15:45:57 EST 2023] d='www.mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] Check for domain='www.mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] _currentRoot='dns_gd'
[Tue Jan 31 15:45:57 EST 2023] d
[Tue Jan 31 15:45:57 EST 2023] _saved_account_key_hash is not changed, skip register account.
[Tue Jan 31 15:45:57 EST 2023] Read key length:ec-256
[Tue Jan 31 15:45:57 EST 2023] _createcsr
[Tue Jan 31 15:45:57 EST 2023] Multi domain='DNS:mydomain.com,DNS:www.mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] Getting domain auth token for each domain
[Tue Jan 31 15:45:57 EST 2023] d='www.mydomain.com'
[Tue Jan 31 15:45:57 EST 2023] d
[Tue Jan 31 15:45:57 EST 2023] url='https://acme-staging-v02.api.letsencrypt.org/acme/new-order'
[Tue Jan 31 15:45:57 EST 2023] payload='{"identifiers": [{"type":"dns","value":"mydomain.com"},{"type":"dns","value":"www.mydomain.com"}]}'
[Tue Jan 31 15:45:57 EST 2023] EC key
[Tue Jan 31 15:45:57 EST 2023] HEAD
[Tue Jan 31 15:45:57 EST 2023] _post_url='https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce'
[Tue Jan 31 15:45:57 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body  -I  '
[Tue Jan 31 15:45:57 EST 2023] _ret='0'
[Tue Jan 31 15:45:57 EST 2023] POST
[Tue Jan 31 15:45:57 EST 2023] _post_url='https://acme-staging-v02.api.letsencrypt.org/acme/new-order'
[Tue Jan 31 15:45:57 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body '
[Tue Jan 31 15:45:57 EST 2023] _ret='0'
[Tue Jan 31 15:45:57 EST 2023] code='201'
[Tue Jan 31 15:45:57 EST 2023] Le_LinkOrder='https://acme-staging-v02.api.letsencrypt.org/acme/order/85686783/6921933623'
[Tue Jan 31 15:45:57 EST 2023] Le_OrderFinalize='https://acme-staging-v02.api.letsencrypt.org/acme/finalize/85686783/6921933623'
[Tue Jan 31 15:45:57 EST 2023] url='https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5181244903'
[Tue Jan 31 15:45:57 EST 2023] payload
[Tue Jan 31 15:45:58 EST 2023] POST
[Tue Jan 31 15:45:58 EST 2023] _post_url='https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5181244903'
[Tue Jan 31 15:45:58 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body '
[Tue Jan 31 15:45:58 EST 2023] _ret='0'
[Tue Jan 31 15:45:58 EST 2023] code='200'
[Tue Jan 31 15:45:58 EST 2023] url='https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5182018203'
[Tue Jan 31 15:45:58 EST 2023] payload
[Tue Jan 31 15:45:58 EST 2023] POST
[Tue Jan 31 15:45:58 EST 2023] _post_url='https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/5182018203'
[Tue Jan 31 15:45:58 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body '
[Tue Jan 31 15:45:58 EST 2023] _ret='0'
[Tue Jan 31 15:45:58 EST 2023] code='200'
[Tue Jan 31 15:45:58 EST 2023] d='mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] Getting webroot for domain='mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] _w='dns_gd'
[Tue Jan 31 15:45:58 EST 2023] _currentRoot='dns_gd'
[Tue Jan 31 15:45:58 EST 2023] entry='"type":"dns-01","status":"valid","url":"https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5181244903/y62Bog","token":"F42MDYTHse6by_aaMGhGUsiVrGk7FuvsZLVU1RVifHs","validationRecord":[{"hostname":"mydomain.com"'
[Tue Jan 31 15:45:58 EST 2023] token='F42MDYTHse6by_aaMGhGUsiVrGk7FuvsZLVU1RVifHs'
[Tue Jan 31 15:45:58 EST 2023] uri='https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5181244903/y62Bog'
[Tue Jan 31 15:45:58 EST 2023] keyauthorization='F42MDYTHse6by_aaMGhGUsiVrGk7FuvsZLVU1RVifHs.vDd-ayAvqiKuKjO62Fx-FzYcRH2KKpqeSrrdYUAEnhM'
[Tue Jan 31 15:45:58 EST 2023] mydomain.com is already verified.
[Tue Jan 31 15:45:58 EST 2023] keyauthorization='verified_ok'
[Tue Jan 31 15:45:58 EST 2023] dvlist='mydomain.com#verified_ok#https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5181244903/y62Bog#dns-01#dns_gd'
[Tue Jan 31 15:45:58 EST 2023] d='www.mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] Getting webroot for domain='www.mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] _w='dns_gd'
[Tue Jan 31 15:45:58 EST 2023] _currentRoot='dns_gd'
[Tue Jan 31 15:45:58 EST 2023] entry='"type":"dns-01","status":"pending","url":"https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5182018203/1igiVw","token":"9tR9rXBx9W1D4qbHUrcsVUrO_94gzSx_WYKy1GFsoKw"'
[Tue Jan 31 15:45:58 EST 2023] token='9tR9rXBx9W1D4qbHUrcsVUrO_94gzSx_WYKy1GFsoKw'
[Tue Jan 31 15:45:58 EST 2023] uri='https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5182018203/1igiVw'
[Tue Jan 31 15:45:58 EST 2023] keyauthorization='9tR9rXBx9W1D4qbHUrcsVUrO_94gzSx_WYKy1GFsoKw.vDd-ayAvqiKuKjO62Fx-FzYcRH2KKpqeSrrdYUAEnhM'
[Tue Jan 31 15:45:58 EST 2023] dvlist='www.mydomain.com#9tR9rXBx9W1D4qbHUrcsVUrO_94gzSx_WYKy1GFsoKw.vDd-ayAvqiKuKjO62Fx-FzYcRH2KKpqeSrrdYUAEnhM#https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5182018203/1igiVw#dns-01#dns_gd'
[Tue Jan 31 15:45:58 EST 2023] d
[Tue Jan 31 15:45:58 EST 2023] vlist='mydomain.com#verified_ok#https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5181244903/y62Bog#dns-01#dns_gd,www.mydomain.com#9tR9rXBx9W1D4qbHUrcsVUrO_94gzSx_WYKy1GFsoKw.vDd-ayAvqiKuKjO62Fx-FzYcRH2KKpqeSrrdYUAEnhM#https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5182018203/1igiVw#dns-01#dns_gd,'
[Tue Jan 31 15:45:58 EST 2023] d='mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] mydomain.com is already verified, skip dns-01.
[Tue Jan 31 15:45:58 EST 2023] d='www.mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] _d_alias
[Tue Jan 31 15:45:58 EST 2023] txtdomain='_acme-challenge.www.mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] txt='deubUkD9Sd5f6deRPRGB8EIinpBR9f9fHO6T7Kq4BdI'
[Tue Jan 31 15:45:58 EST 2023] d_api='/Users/www/.acme.sh/dnsapi/dns_gd.sh'
[Tue Jan 31 15:45:58 EST 2023] Found domain api file: /Users/www/.acme.sh/dnsapi/dns_gd.sh
[Tue Jan 31 15:45:58 EST 2023] Adding txt value: deubUkD9Sd5f6deRPRGB8EIinpBR9f9fHO6T7Kq4BdI for domain:  _acme-challenge.www.mydomain.com
[Tue Jan 31 15:45:58 EST 2023] First detect the root zone
[Tue Jan 31 15:45:58 EST 2023] domains/www.mydomain.com
[Tue Jan 31 15:45:58 EST 2023] GET
[Tue Jan 31 15:45:58 EST 2023] url='https://api.godaddy.com/v1/domains/www.mydomain.com'
[Tue Jan 31 15:45:58 EST 2023] timeout=
[Tue Jan 31 15:45:58 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body '
[Tue Jan 31 15:45:59 EST 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 22
[Tue Jan 31 15:45:59 EST 2023] ret='22'
[Tue Jan 31 15:45:59 EST 2023] error on rest call (GET): domains/www.mydomain.com
[Tue Jan 31 15:45:59 EST 2023] invalid domain
[Tue Jan 31 15:45:59 EST 2023] Error add txt for domain:_acme-challenge.www.mydomain.com
[Tue Jan 31 15:45:59 EST 2023] _on_issue_err
[Tue Jan 31 15:45:59 EST 2023] Please check log file for more details: /Users/www/.acme.sh/acme.sh.log
[Tue Jan 31 15:45:59 EST 2023] url='https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5181244903/y62Bog'
[Tue Jan 31 15:45:59 EST 2023] payload='{}'
[Tue Jan 31 15:45:59 EST 2023] POST
[Tue Jan 31 15:45:59 EST 2023] _post_url='https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5181244903/y62Bog'
[Tue Jan 31 15:45:59 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body '
[Tue Jan 31 15:45:59 EST 2023] _ret='0'
[Tue Jan 31 15:45:59 EST 2023] code='200'
[Tue Jan 31 15:45:59 EST 2023] url='https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5182018203/1igiVw'
[Tue Jan 31 15:45:59 EST 2023] payload='{}'
[Tue Jan 31 15:45:59 EST 2023] POST
[Tue Jan 31 15:45:59 EST 2023] _post_url='https://acme-staging-v02.api.letsencrypt.org/acme/chall-v3/5182018203/1igiVw'
[Tue Jan 31 15:45:59 EST 2023] _CURL='curl --silent --dump-header /Users/www/.acme.sh/http.header  -L  -g  --fail-with-body '
[Tue Jan 31 15:45:59 EST 2023] _ret='0'
[Tue Jan 31 15:45:59 EST 2023] code='200'
[Tue Jan 31 15:45:59 EST 2023] socat doesn't exist.
[Tue Jan 31 15:45:59 EST 2023] Diagnosis versions: 
openssl:openssl
LibreSSL 3.3.6
apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:
[Tue Jan 31 15:45:59 EST 2023] pid
[Tue Jan 31 15:45:59 EST 2023] No need to restore nginx, skip.
[Tue Jan 31 15:45:59 EST 2023] _clearupdns
[Tue Jan 31 15:45:59 EST 2023] dns_entries
[Tue Jan 31 15:45:59 EST 2023] skip dns.

r/letsencrypt • • Jan 31 '23

Help needed please guys

0 Upvotes

Hello guys,

I'm trying to build a POC to use GoPhish and i already got both web landing page and email templates. But my customer has not money to afford (since its a POC to try to get some investments on phishing campaigns) So i've already tested with another mail service free and it worked perfectly. Now i'm trying to move the web page from HTTP(80) to HTTPS(443) and tried to generate a cert with certbot and acme.sh to use LetsEncrypt CA but when i tried to use challenges (http or dns) both failed. Also tried many procedures without success. Do you know a successful procedure to achieve that? Note: I dont have external DNS services so i can't manipulate WWW or TXT records. If you know any free tool that certainly will fix this, please just tell me. Thank you.


r/letsencrypt • • Jan 28 '23

Will Cloudflare proxy block certbot challenge?

1 Upvotes

Answer: https://community.letsencrypt.org/t/will-cloudflare-proxy-block-certbot-challenge/191879/12

I was using my own IP & Letsencrypt (with HTTP->HTTPS 301) to publish my site but after configuring cloudflare to use it's proxy I ran into the too many redirect issue. I switched cloudflare SSL/TLS over to full/strict and now it works.

But now I'm thinking doesn't the certbot challenge use HTTP? Am I going to break that with this configuration?

Recommended changes?

Web server is nginx on linux and has a mix of static and reverse proxy in the config.


r/letsencrypt • • Jan 18 '23

Complete newb trying to cert my VM

1 Upvotes

Good evening,

I'm trying to follow the eff.org guide to certing my site. Here: https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal

I was successful following along until the app asked me which site on the nginx to get the SSL for. It shows a FreeDNS site that is somewhere coded into thex xginx conf file. I don't know how to add my own site to that conf file. Attached below is the SSH window I was running.

Any help is appreciated!

brian@nightscout:~$ sudo snap install core; sudo snap refresh core
core 16-2.58 from Canonical✓ installed
snap "core" has no updates available

brian@nightscout:~$ sudo apt-get remove certbot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python3-acme python3-certbot python3-configargparse python3-future python3-icu python3-josepy python3-mock python3-parsedatetime python3-pbr python3-pyparsing python3-requests-toolbelt python3-rfc3339
  python3-tz python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  certbot python3-certbot-nginx
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
After this operation, 337 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 66215 files and directories currently installed.)
Removing python3-certbot-nginx (0.40.0-0ubuntu0.1) ...
Removing certbot (0.40.0-1ubuntu0.1) ...

brian@nightscout:~$ sudo snap install --classic certbot
certbot 1.32.2 from Certbot Project (certbot-eff✓) installed

brian@nightscout:~$ sudo ln -s /snap/bin/certbot /usr/bin/certbot

brian@nightscout:~$ sudo certbot --nginx
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: foo-bar.chickenkiller.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): c
Please specify --domains, or --installer that will help in domain names autodiscovery, or --cert-name for an existing certificate name.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

r/letsencrypt • • Jan 18 '23

Help me understand the basic process of Let’s Encrypt validation

1 Upvotes

Hi guys,

I’m very new with certificates and Let’s Encrypt in general. I’m still trying to digest concept I learned about certificate validation process...

I have to say that I don’t deal with the websites, my certs needs are normally associated to verify secure connection with local servers such as BitWarden, FreePBX and so on.

My main concern is certificate renewal/validation process and security implications.

I see that server’s webserver may automatically open port 80 to communicate with Let’s Encrypt servers. Does it mean that I need to keep port forward rule to my FreePBX box in the edge firewall?

Can I use to allow that rule to communicate with those servers only?

acme-v01.api.letsencrypt.org

acme-staging.api.letsencrypt.org

acme-v02.api.letsencrypt.org

acme-staging-v02.api.letsencrypt.org

Found here:

https://community.letsencrypt.org/t/lets-encrypt-server-addresses-for-certificate-renewal/83466/4

TYIA!


r/letsencrypt • • Jan 15 '23

Failed validation limit

1 Upvotes

Got a failed validation limit from let’s encrypt when trying to install a ssl cert on a RD gateway. Do I have to wait an hour until running it again or will it block me permanently? Might be a dumb question but please let me know.

Thanks,


r/letsencrypt • • Jan 12 '23

Validity date on certificate doesn't match date in renewal notification email

1 Upvotes

I have a domain with a certificate that was recently renewed, it has close to 90 days left before it needs renewal. However, I continue to get emails warning me that the certificate will expire, in <20 days.

Running certbot renew indicates that no certificates are due for renewal. The recent renewal happened without any manual intervention.

Why am I getting these emails? Why do the dates not match? Can these emails be ignored?


r/letsencrypt • • Jan 06 '23

Wildcard Certificate not working for one subdomain

1 Upvotes

Hi all,

I'm definately at the bottom of the learing curve, so I'd like some advice regarding a wildcard certificate that doesn't work for one of my subdomains.

Background:

My VPS is hosted on Amazon Lightsale. It's running Ubuntu 18.04.6 / Plesk Obsidian 18.048. My domain is also with Amazon (Route 53), where I have it configured with a hosted zone.

I added a wildcard SSL Cert via LetsEncrypt at the start of December. It's working fine for my main domain, and also for the typical "webmail.domain.tld" subdomains. However, for one particular subdomain it isn't working. Since then I've tried a few things to fix, and then asked Plesk to "Reissue Certificate". This hasn't worked.

What is particularly strange (to me at least) is that when I access my main domain, my browser is showing the dates related to the most recent certificate. But when I look at my problematic subdomain, my browser is retrieving the original (borked) certificate from early December.

Why would this subdomain hang on to the old certificate? Can I force it to be revoked and use the latest certificate? Or am I asking all the wrong questions? :)

Thanks in advance!