:
Certbot:
$ sudo brew install wget
$ wget https://dl.eff.org/certbot-auto
$ chmod a+x ./certbot-auto
$ ./certbot-auto --help
, cert:
$ cd certbot (if not already there)
$ sudo ./certbot-auto certonly --debug -a manual -d www.yoursite.com -d yoursite.com (<--if you want naked too.)
, URL- , . . URL- . ( .)
, www, URL- , . , :
- !
/etc/letsencrypt/live/www.yoursite.com/fullchain.pem.
2016 -xx-07.
, certbot-auto .
,
"certbot-auto renew"
, pem:
$ cd /private/etc/letsencrypt/live/www.yoursite.com
( , GAE. , privkey.pem):
$ sudo openssl rsa -in privkey.pem -out unencrypted_key.pem
: https://console.cloud.google.com/appengine/settings/certificates?project=yoursite. Upload a new SSL certificate
PEM / . (fullchain.pem - . unencrypted_key.pem - .)
. !
.
Debugging:
GAE invalid:
homebrew:
$ cd /usr/local/Library
$ sudo git pull origin master
augeas:
$ brew install augeas
if get Warning: augeas-1.4.0 ,
$ sudo brew link augeas
ExecutableNotFound:
$ brew install dialog
get Warning: dialog-1.2-20150920 ,
$ sudo brew link dialog
:
$ cd certbot
$ ./certbot-auto certonly --debug --force-renew -a manual -d www.yoursite.com -d yoursite.com
( " ...", .)
pem:
$ cd /private/etc/letsencrypt/live/www.yoursite.com
( , GAE. , privkey.pem):
$ sudo openssl rsa -in privkey.pem -out unencrypted_key.pem
fullchain.pem - .
unencrypted_key.pem -
GAE , .