go-acme / lego

Let's Encrypt/ACME client and library written in Go
https://go-acme.github.io/lego/
MIT License
8.01k stars 1.02k forks source link

lego allows you to rename the requested certificate #2271

Closed aaro-n closed 1 month ago

aaro-n commented 1 month ago

Welcome

How do you use lego?

Docker image

Detailed Description

lego allows you to rename the requested certificate instead of using the domain name to store the certificate file. Example:

docker-compose run --rm lego --email xxx@gmail.com --dns alidns -domains tan123.plus,*.tan123.plus,211.xyz,*.211.xyz run

The requested certificate will be saved as tan123.plus.crt and tan123.plus.key, and I want to save the certificate as letsencrypt.crt and letsencrypt.key

ldez commented 1 month ago

Hello,

you can use the flag --filename but it is deprecated, if want more information: https://github.com/go-acme/lego/issues/838