feat(controller): teach controller about application certificates

supercedes #2570, rebased and all comments addressed.
Indeed.

I have a hosted app where my customers will be able to get there own
domain. Some customers will need SSL, others won't.
Obviously the ones that get SSL will need different certificates for there
respective domains.

I see that I can solve this by creating different apps linked to same db
and so on, but that approach is just maintenance hell...
On Dec 23, 2014 9:28 PM, "Matthew Fisher" <notifications@github.com> wrote:

> In client/deis.py
> <https://github.com/deis/deis/pull/2799#discussion-diff-22233144>:
>
> > @@ -962,6 +963,144 @@ def builds_list(self, args):
> >          else:
> >              raise ResponseError(response)
> >
> > +    def certs(self, args):
> > +        """
> > +        Valid commands for certs:
> > +
> > +        certs:list            list ssl certificates for an app
>
> @nathansamson <https://github.com/nathansamson> not sure if I understand
> your question. You mean for applications which have added additional
> domains via deis domains:add? If that's the case, deis certs locks down
> all of the CNAME records under the SSL cert, and it only has support for 1
> certificate with how it's laid out.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/deis/deis/pull/2799/files#r22233144>.
>