Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

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

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

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

tfarina opened this issue Jul 9, 2016 · 8 comments

Comments

@tfarina
Copy link

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
Copy link
Owner

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

@tfarina
Copy link
Author

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
Copy link
Author

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
Copy link

same here.

@kristapsdz
Copy link
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
Copy link

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
Copy link
Owner

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

@tfarina
Copy link
Author

tfarina commented Jul 12, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants