emerge -av letsencrypt
Based on instructions here…
bash
mkdir -p /tmp/letsencrypt/public_html/.well_known
Modify /etc/lighttpd/lighttpd.conf
to include the following…
## Used for letsencrypt validation $HTTP["url"] =~ "^/.well-known/" { server.document-root = "/tmp/letsencrypt/public_html/.well-known/" alias.url = ( "/.well-known/" => "/tmp/letsencrypt/public_html/.well-known/" ) dir-listing.activate = "disable" }
Restart your server…
/etc/init.d/lighttpd restart
Look for your basedir in /etc/lighttpd/lighttpd.conf
…
grep base /etc/lighttpd/lighttpd.conf
Use your domain name, and the basedir the above returns…
letsencrypt certonly --webroot -w /var/www/localhost -d kimura.no-ip.info
As advised backup the created /etc/letsencrypt/
directory to somewhere secure.
gentoo linux letsencrypt