cf-letsencrypt icon indicating copy to clipboard operation
cf-letsencrypt copied to clipboard

Automatically download the generated certificate(s)

Open bsyk opened this issue 8 years ago • 2 comments

The scripts should fetch the certificates for me. Watch the logs, once the certificate generation has completed, download them to the local machine and terminate the CF app (for cost saving).

bsyk avatar Mar 02 '17 23:03 bsyk

The log-watching approach is the same one we took in https://github.com/ibmjstart/bluemix-letsencrypt ...just keep in mind that CF Loggregator can be lossy and so make sure to have timeout in case the line(s) you're waiting for are mysteriously missing (shouldn't be common, but we've seen it).

lmsurpre avatar Mar 03 '17 12:03 lmsurpre

What do you think about using the Python web server to handle all the comms with the service? When pushing the app, we could set a random secret so that the session is secured. Then use either a websocket or polling to check status and even download the certificates. This would also get around the DEA vs Diego issues, both can be treated the same.

bsyk avatar Mar 10 '17 19:03 bsyk