heroku/heroku — pull request #500 by geemus (2012-08-02 15:18:45+00:00)
Title: standardize formatting for certs

Work towards standardizing formatting for certs.

They used to look like curl output, but unlike anything else in the cli, like this:

$ heroku certs:info
Fetching information on SSL endpoint nara-1221.herokussl.com... done
Certificate details:
subject: /C=US/ST=CA/O=Heroku/CN=example.com
start date: 2012-08-01 17:32 CDT
expire date: 2013-08-01 17:32 CDT
common name(s): example.com
issuer: /C=US/ST=CA/O=Heroku/CN=example.com
SSL certificate is self signed.

With these changes it displays the same information, but formatted like other key/value data in CLI:

Fetching SSL endpoint nara-1221.herokussl.com info for testable... done
Certificate details:
Common Name(s): example.com
Expires At: 2013-08-01 17:32 CDT
Issuer: /C=US/ST=CA/O=Heroku/CN=example.com
Starts At: 2012-08-01 17:32 CDT
Subject: /C=US/ST=CA/O=Heroku/CN=example.com
SSL certificate is self signed.

This will require updating docs, but I wanted to make sure it wouldn't break workflows or otherwise be damaging, any concerns/comments would be greatly appreciated.

/cc @brandur @kr