Forum

letsencrypt not generating files

Fred
24 November 2016, 17:52
Hi Hugo,

I am trying to generate an ssl certificate for my domain and here is the outcome of
php ./letsencrypt request mydomain.co.uk
:
Authorizing mydomain.co.uk.
- Retrieving HTTP authentication challenge.
- Retrieving authorization key.
Authorizing www.mydomain.co.uk.
- Retrieving HTTP authentication challenge.
- Retrieving authorization key.
Generating RSA key.
Generating CSR.
Retrieving certificate.

From what I can it all good but I cannot find the CSR or RSA key anywhere...

Could you please help?

Thank you
Fred
Hugo Leisink
24 November 2016, 19:21
The answer can be found in the README file, the one but last paragraph.
Fred
26 November 2016, 00:16
Certificates will be written to a file in the directory of this script. If you
run the script as user root, the certificate will be written to the directory
configured via the WEBSERVER_CERT_DIR setting.


Sorry but what does is 'WEBSERVER_CERT_DIR'?

I did ran the following and got nothing back
find /usr/local/www/mydomain.co.uk -name '*.csr'
find /usr/local/www/mydomain.co.uk -name '*.key'
find /usr/local/etc/hiawatha/letsencrypt -name '*.csr'
find /usr/local/etc/hiawatha/letsencrypt -name '*.key'
Hugo Leisink
26 November 2016, 16:29
That's an error in the README. WEBSERVER_CERT_DIR should have been HIAWATHA_CERT_DIR. It's defined in letsencrypt.conf. Point it to where you want to store your certificates. I set it to /etc/hiawatha/tls.
This topic has been closed.