Discover SSL Certificate Information

Registered by Caleb Groom on 2014-01-30

For a given netloc, fetch and parse the SSL certificate. Probable fields to populate are:

Name
Expired?
Start date
Expiration date
Verified?
Errors

Building off of https://blueprints.launchpad.net/satori/+spec/nova-instance-detection, the command line output would gain an SSL line:

$ satori discover https://www.foo.com
Address:
   www.foo.com resolves to IPv4 address 4.4.4.4
SSL:
  certificate is valid and expires on 2014-05-01 (47 days)

Python example:
>>> import satori
>>>satori.discover(address='https://www.foo.com')
{
 'certificate': {
  'name': 'www.foo.com',
  'start-date': datetime.date(2012, 1, 29),
  'expiration-date': datetime.date(2014, 5, 1),
  'verified': True,
  'erorrs': []
 }
}

Blueprint information

Status:
Not started
Approver:
Ziad Sawalha
Priority:
Undefined
Drafter:
Caleb Groom
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for poc
Implementation:
Unknown
Milestone target:
milestone icon poc

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.