New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create an account key using -n? #7

Closed
star26bsd opened this Issue Jul 10, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@star26bsd

star26bsd commented Jul 10, 2016

Hi! I am using 0.17 on OpenBSD 5.9-Stable. I have read that I need to create an account key first using -n. However, all attempts on using -n properly failed:

# letskencrypt -n                                                                                                               
usage: letskencrypt [-Fnrsv] [-C challengedir] [-c certdir] [-f accountkey] [-k domainkey] [-u user] domain [altnames...]
# letskencrypt -n my-domain.com
letskencrypt: /etc/ssl/letsencrypt/private/privkey.pem: -k file must exist

I have read the man page a dozen times and can't figure it out. thanks for your help.

@kristapsdz

This comment has been minimized.

Show comment
Hide comment
@kristapsdz

kristapsdz Jul 11, 2016

Owner

The -n flag will create the account key, not the domain key. You need to create the domain key yourself, as now documented in the EXAMPLES section of letskencrypt.1. Does this clear that up? (And as noted in the other issue, do other clients create the domain key for you as well?)

Owner

kristapsdz commented Jul 11, 2016

The -n flag will create the account key, not the domain key. You need to create the domain key yourself, as now documented in the EXAMPLES section of letskencrypt.1. Does this clear that up? (And as noted in the other issue, do other clients create the domain key for you as well?)

@star26bsd

This comment has been minimized.

Show comment
Hide comment
@star26bsd

star26bsd Jul 11, 2016

Great, thank you. I had assumed the key creation is done by letskencrypt. However, it does make sense to create the private key manually, of course. The new EXAMPLES section shows this nicely. Thanks!

star26bsd commented Jul 11, 2016

Great, thank you. I had assumed the key creation is done by letskencrypt. However, it does make sense to create the private key manually, of course. The new EXAMPLES section shows this nicely. Thanks!

kristapsdz pushed a commit that referenced this issue Jul 12, 2016

@kristapsdz

This comment has been minimized.

Show comment
Hide comment
@kristapsdz

kristapsdz Jul 12, 2016

Owner

I've also added the -N flag to the latest version, which will create this for you.

Owner

kristapsdz commented Jul 12, 2016

I've also added the -N flag to the latest version, which will create this for you.

@kristapsdz kristapsdz closed this Jul 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment