Change /etc/letsencrypt/live when using manual cert creation


#1

Hi there!
I am trying to manually create a certificate using ./letsencrypt-auto certonly -a manual --rsa-key-size 4096 -d domain.com -d www.domain.com on Mac OSX El Capitan under a dev account (non admin/root). brew et. al. are also installed locally to that user.

Is there a way to change the default cert folder so that I can obtain the keys under the dev user?


#2

Run the client with --help all and see the paths: section.


#3

Thanks @Osiris! I think it is --cert-path that I was looking for!


#4

There seem to be some problems with this approach tho … https://github.com/letsencrypt/letsencrypt/issues/2155
Can someone confirm that?

Also: I need to run the letsencrypt as non-sudo, which is the primary reason why I wanna specify the certs (cert.pem, chain.pem, fullchain.pem, privkey.pem) in a dir under my dev user. Any ideas on running letsencrypt without sudo with the path commands?


#5

If that helps anyone. I found this to be very helpful https://github.com/diafygi/letsencrypt-nosudo#alternative-official-lets-encrypt-client