Help me remember how I created my certificates with this directory structure

My domain is: *.alpha.serendipitybio.com
Hosting on AWS Route53 (Apache)
Generating certificates on Mac OS 12.5.1
Command executed: sudo certbot certonly --manual --preferred-challenges dns

Hi all,

I'm trying to remember which tool gave me the following directory structure and output with my certificate and keys:

I'm not sure if it was Lego, Certbot, or even another client that created the output for me. I ask because I switched development machines and I've totally forgotten the path I took to get that output.

Using Certbot this morning via the CLI works fine but doesn't yield the same directory structure. I'm sure things may have changed - that output is from November, 2021!

This morning's command places output in etc/letsencrypt/live/alpha.serendipitybio.com/ - which aligns with the Certbot documentation.

Thanks!

  • Jonathan
2 Likes

Looks like lego. See lego/accounts_storage.go at d5a18dc2d5b9ca2820514dc87da96bcc23f777c7 · go-acme/lego · GitHub for the lego account file structure and lego/certs_storage.go at d5a18dc2d5b9ca2820514dc87da96bcc23f777c7 · go-acme/lego · GitHub for the certificate file structure with reference to .issuer.crt @ lego/certs_storage.go at d5a18dc2d5b9ca2820514dc87da96bcc23f777c7 · go-acme/lego · GitHub and the .json file @ lego/certs_storage.go at d5a18dc2d5b9ca2820514dc87da96bcc23f777c7 · go-acme/lego · GitHub.

8 Likes

@Osiris you rock, thank you so much!

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.