What is the equivalent command for letsencrypt-auto tool? #6

Closed
tfarina opened this Issue Jul 9, 2016 · 8 comments

Comments

Projects
None yet
3 participants
@tfarina

tfarina commented Jul 9, 2016

Hi,

What is the equivalent letskencrypt command for the following command line?

$ letsencrypt-auto certonly --standalone -d mydomain.com

@kristapsdz

This comment has been minimized.

Show comment
Hide comment
@kristapsdz

kristapsdz Jul 9, 2016

Owner

I don't know---I've never used letsencrypt-auto. The letskencrypt(1) manpage will tell you its usage.

Owner

kristapsdz commented Jul 9, 2016

I don't know---I've never used letsencrypt-auto. The letskencrypt(1) manpage will tell you its usage.

@tfarina

This comment has been minimized.

Show comment
Hide comment
@tfarina

tfarina Jul 9, 2016

The problem I'm facing is that it says 'privkey.pem' file must exist. But it does not say how I should generate it.

tfarina commented Jul 9, 2016

The problem I'm facing is that it says 'privkey.pem' file must exist. But it does not say how I should generate it.

@tfarina

This comment has been minimized.

Show comment
Hide comment
@tfarina

tfarina Jul 9, 2016

This is the command I'm running:

$ sudo LD_LIBRARY_PATH=/usr/local/lib ./letskencrypt -m mydomain.com
letskencrypt: /etc/ssl/letsencrypt/mydomain.com: -c directory must exist
letskencrypt: /etc/ssl/letsencrypt/private/mydomain.com/privkey.pem: -k file must exist
letskencrypt: /var/www/letsencrypt: -C directory must exist
letskencrypt: /etc/letsencrypt/mydomain.com/privkey.pem: -f file must exist

tfarina commented Jul 9, 2016

This is the command I'm running:

$ sudo LD_LIBRARY_PATH=/usr/local/lib ./letskencrypt -m mydomain.com
letskencrypt: /etc/ssl/letsencrypt/mydomain.com: -c directory must exist
letskencrypt: /etc/ssl/letsencrypt/private/mydomain.com/privkey.pem: -k file must exist
letskencrypt: /var/www/letsencrypt: -C directory must exist
letskencrypt: /etc/letsencrypt/mydomain.com/privkey.pem: -f file must exist

@star26bsd

This comment has been minimized.

Show comment
Hide comment
@star26bsd

star26bsd Jul 10, 2016

same here.

same here.

@kristapsdz

This comment has been minimized.

Show comment
Hide comment
@kristapsdz

kristapsdz Jul 11, 2016

Owner

Does the new letskencrypt(1) address this in its EXAMPLES? In short, you must create all directories and files unless -n is passed, in which case the account key (not the domain key) is created. Usually, keys are created with the openssl(1) command, as now noted in the example.

Is it normal behaviour for the other letsencrypt clients to create the domain key if requested?

Owner

kristapsdz commented Jul 11, 2016

Does the new letskencrypt(1) address this in its EXAMPLES? In short, you must create all directories and files unless -n is passed, in which case the account key (not the domain key) is created. Usually, keys are created with the openssl(1) command, as now noted in the example.

Is it normal behaviour for the other letsencrypt clients to create the domain key if requested?

@star26bsd

This comment has been minimized.

Show comment
Hide comment
@star26bsd

star26bsd Jul 11, 2016

I don't know how other letsencrypt clients work. This is my first attempt to get it all running, since I was waiting for a small, tiny and secure client for OpenBSD first :) I do appreciate the new EXAMPLES section.

I don't know how other letsencrypt clients work. This is my first attempt to get it all running, since I was waiting for a small, tiny and secure client for OpenBSD first :) I do appreciate the new EXAMPLES section.

@kristapsdz

This comment has been minimized.

Show comment
Hide comment
@kristapsdz

kristapsdz Jul 12, 2016

Owner

The -N flag in the latest release will also do this. Thanks!

Owner

kristapsdz commented Jul 12, 2016

The -N flag in the latest release will also do this. Thanks!

@kristapsdz kristapsdz closed this Jul 12, 2016

@tfarina

This comment has been minimized.

Show comment
Hide comment
@tfarina

tfarina Jul 12, 2016

Thank you! I will try again, because yesterday it didn't work.

tfarina commented Jul 12, 2016

Thank you! I will try again, because yesterday it didn't work.

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