{"action":"closed","issue":{"url":"https://api.github.com/repos/eucalyptus/eucalyptus-sosreport-plugins/issues/67","labels_url":"https://api.github.com/repos/eucalyptus/eucalyptus-sosreport-plugins/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/eucalyptus/eucalyptus-sosreport-plugins/issues/67/comments","events_url":"https://api.github.com/repos/eucalyptus/eucalyptus-sosreport-plugins/issues/67/events","html_url":"https://github.com/eucalyptus/eucalyptus-sosreport-plugins/issues/67","id":33159627,"number":67,"title":"FR: Add subscription cert information","user":{"login":"lwade","id":1357366,"avatar_url":"https://avatars.githubusercontent.com/u/1357366?v=3","gravatar_id":"","url":"https://api.github.com/users/lwade","html_url":"https://github.com/lwade","followers_url":"https://api.github.com/users/lwade/followers","following_url":"https://api.github.com/users/lwade/following{/other_user}","gists_url":"https://api.github.com/users/lwade/gists{/gist_id}","starred_url":"https://api.github.com/users/lwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwade/subscriptions","organizations_url":"https://api.github.com/users/lwade/orgs","repos_url":"https://api.github.com/users/lwade/repos","events_url":"https://api.github.com/users/lwade/events{/privacy}","received_events_url":"https://api.github.com/users/lwade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eucalyptus/eucalyptus-sosreport-plugins/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"hspencer77","id":1253462,"avatar_url":"https://avatars.githubusercontent.com/u/1253462?v=3","gravatar_id":"","url":"https://api.github.com/users/hspencer77","html_url":"https://github.com/hspencer77","followers_url":"https://api.github.com/users/hspencer77/followers","following_url":"https://api.github.com/users/hspencer77/following{/other_user}","gists_url":"https://api.github.com/users/hspencer77/gists{/gist_id}","starred_url":"https://api.github.com/users/hspencer77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hspencer77/subscriptions","organizations_url":"https://api.github.com/users/hspencer77/orgs","repos_url":"https://api.github.com/users/hspencer77/repos","events_url":"https://api.github.com/users/hspencer77/events{/privacy}","received_events_url":"https://api.github.com/users/hspencer77/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-05-09T10:01:59Z","updated_at":"2015-02-13T03:51:53Z","closed_at":"2015-02-13T03:51:53Z","body":"If the user is a customer, they'll most likely have the eucalyptus release RPM installed.  If they have this installed, we'll have the cert installed in /etc/pki/tls/certs/eucalyptus-enterprise.crt.  I would be good if we could collect their subscription information using something like this:\r\n\r\nopenssl x509 -text -in /etc/pki/tls/certs/eucalyptus-enterprise.crt | grep -A 2 Validity\r\n\r\nmaybe there is a python library for pulling fields from a cert directly (I've not checked) ?\r\n"}}