I’ve not used the flag yet, maybe I should. Will try it tomorrow. I guess it’s enough during the first time from what I remember from the docs, because it’s a different command to register than to issue a new certificate.
Good question @eva2000. I created #1310 in response to this post.
The answer is --email is only used when creating an account with the ACME server which is one of the first things the client does. Once you’ve had a successful run with letsencrypt and this account has been created, the --email flag has no effect. Since it does need to be specified the first time the client is run, putting it in cli.ini sounds like a good idea to me.
@bmw what about updating or changing the registered email address ?
for example, if the end user typed in wrong email address or incorrect one, how do they update it ?
working on my letsencrypt integration and dealing with email address so far https://community.centminmod.com/posts/20305/ but no idea of how to change or update the email address as yet
Not only emails, but also other contact information that may be specified. https://acme-staging.api.letsencrypt.org/directory exposes only the new-reg endpoint and that endpoint doesn’t accept updates, because it has to respond with 409 Conflict for already existing keys.
We need to open an issue in the spec repository probably.
That’s correct, it should be possible to update the registration object with a new email address, but I don’t think this is currently implemented in the official client. However, you should be able to do it by modifying the client or using a custom one.
@jsha@schoen@kelunik@bmw that’s unfortunate as it should be a higher priority if security is a priority (up there with the rational for 90 day expiry policy). As what happens if you need to contact LE registered account users i.e. renewal notifications and their email addresses bounce, are invalid or mistyped ?
@kelunik thanks… not if it’s easy to do, but maybe also come renewal time, you can do a recheck of registered email to ensure it’s valid ? i.e. MX records
not sure what you could do with such checks though, other than maybe also offer up an option for backup email address registration --email-backup flag just in case