Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 986 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 986 Bytes

gacertsbot

Updates SSL certificates on Google AppEngine

Usage

go run cmd/gacertsbot/main.go -config config.txt -fullchain fullchain.pem -key privatekey.pem

config.txt should be a Config proto in text format. fullchain.pem should be the public keys for your certificate in PEM format including any required certificates in the root chain. privatekey.pem should be a private key file in PEM PKCS8 format, i.e. it should begin with something like === BEGIN PRIVATE KEY ===.

Credentials

gacertsbot uses Google Application Default Credentials which are setup via the GOOGLE_APPLICATION_CREDENTIALS environment variable.

You probably want to create a service account with admin access to each appengine project and add that email address as a verified owner to Google Webmaster Central too.