# File lib/heroku/command/ssl.rb, line 13
    def index
      heroku.list_domains(app).each do |d|
        if cert = d[:cert]
          display "#{d[:domain]} has a SSL certificate registered to #{cert[:subject]} which expires on #{cert[:expires_at].strftime("%b %d, %Y")}"
        else
          display "#{d[:domain]} has no certificate"
        end
      end
    end