Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically download the generated certificate(s) #12

Open
bsyk opened this issue Mar 2, 2017 · 2 comments
Open

Automatically download the generated certificate(s) #12

bsyk opened this issue Mar 2, 2017 · 2 comments

Comments

@bsyk
Copy link
Owner

bsyk commented Mar 2, 2017

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).

@lmsurpre
Copy link
Collaborator

lmsurpre commented Mar 3, 2017

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).

@bsyk
Copy link
Owner Author

bsyk commented Mar 10, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants