Acme.sh: --accountemail

Created on 24 Apr 2017  路  10Comments  路  Source: acmesh-official/acme.sh

now that account.conf doesnt contain an email field by default,
what's the process for the account to have an email for contact and alert expire?

is it to run acme.sh --accountemail [email protected]
and then acme.sh --update-account
?

Most helpful comment

That sounds like a good idea:

If you just run ./acme.sh --install

And don't provide an email and exisiting account.conf has no email either, then just a warning/information like this could be useful:

NOTICE: Currently no email is set for this account. This means you won't be notified about pending certificate expirations. Run 'acme.sh --update-account --accountemail "your email address"' to add an email.

Ok, wording can be improved :)

All 10 comments

yes, you can use --accountemail with --update-account or --install

Wouldn't it be good if the --acountemail option was also mentioned on the front page instructions?

@sjau You can add it in one of the Wiki page. I don't want to make the front page a mess.

given how important is to receive email alerts from LE (like domain is expiring cause renewal is failing) i would strongly recommend we push users to register their accounts.

@Neilpang maybe on 1st account _require_ registration with a flag to ignore it ?
and yes, i believe the front page should reference this too

@FernandoMiguel Most of the users just want a quick cert in minutes. Nobody cares the email. And those who cares will come back to read the doc and find it.

if you believe that to be true, ok.
i'm experienced with this, and still sometimes forget to register

@FernandoMiguel
Emmmm, maybe, we can show a red warning message if we found the account email is never set.

what do you think ?

I nice worded warning in a different color at the end of the run would be helpful, yes

That sounds like a good idea:

If you just run ./acme.sh --install

And don't provide an email and exisiting account.conf has no email either, then just a warning/information like this could be useful:

NOTICE: Currently no email is set for this account. This means you won't be notified about pending certificate expirations. Run 'acme.sh --update-account --accountemail "your email address"' to add an email.

Ok, wording can be improved :)

Was this page helpful?
0 / 5 - 0 ratings