acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

option --dry-run

Open Obie38 opened this issue 4 years ago • 6 comments

Hi,

thanks for all the work with acme.sh. It's really a great tool and it helped us a lot to migrate from cerbot-auto which is deprecated right now. I really would like to know if it would be possible to get a --dry-run option. I mean without the generation of a certificate. The --test option generate a certifcate and it's not exactly what I would like to use. I think that it could be helpfull for a lot of person.

Thanks

Obie38 avatar Oct 05 '21 11:10 Obie38

what does --dry-run exactly do?

Neilpang avatar Oct 06 '21 02:10 Neilpang

I mean to simulate the creation of certificate (it does not actually create any certificate). The connection to CA is tested by this way It would be nice for debug purpose.

Obie38 avatar Oct 06 '21 07:10 Obie38

what does --dry-run exactly do?

It obtains an actual certificate from the staging endpoint and then discards it, testing the entire validation chain.

AvverbioPronome avatar Feb 10 '22 10:02 AvverbioPronome

you can add --test option,

acme.sh --issue -d .......  -w .....     --test

it will obtain the cert from the staging CA.

Neilpang avatar Feb 11 '22 13:02 Neilpang

you can add --test option,

It's not the same. It saves the certificate it gets, possibly overwriting a production one. --dry-run gets the certificate and doesn't save it.

AvverbioPronome avatar Feb 17 '22 00:02 AvverbioPronome

Duplicate of #2565?

maffe avatar Mar 20 '24 18:03 maffe