In OS X (10.7.5 specifically), how would one examine the contents of a certificate from the command line? The 'security' command will list them, but if it includes the contents, it sure isn't human-readable…
keychain: "/System/Library/Keychains/SystemRootCertificates.keychain"
class: 0x80001000
attributes:
"alis"<blob>="Wells Fargo Root Certificate Authority"
"cenc"<uint32>=0x00000003
"ctyp"<uint32>=0x00000001
"hpky"<blob>=0x14AF18F7BDE6E76BE35AFAEA51EFFED45A7139C0 "\024\257\030\367\275\346\347k\343Z\372\352Q\357\376\324Zq9\300"
"issu"<blob>=0x308182310B300906035504061302555331143012060355040A130B57454C4C5320464152474F312C302A060355040B132357454C4C5320464152474F2043455254494649434154494F4E20415554484F52495459312F302D0603550403132657454C4C5320464152474F20524F4F5420434552544946494341544520415554484F52495459 "0\201\2021\0130\011\006\003U\004\006\023\002US1\0240\022\006\003U\004\012\023\013WELLS FARGO1,0*\006\003U\004\013\023#WELLS FARGO CERTIFICATION AUTHORITY1/0-\006\003U\004\003\023&WELLS FARGO ROOT CERTIFICATE AUTHORITY"
"labl"<blob>="Wells Fargo Root Certificate Authority"
"skid"<blob>=<NULL>
"snbr"<blob>=0x39E4979E "9\344\227\236"
"subj"<blob>=0x308182310B300906035504061302555331143012060355040A130B57454C4C5320464152474F312C302A060355040B132357454C4C5320464152474F2043455254494649434154494F4E20415554484F52495459312F302D0603550403132657454C4C5320464152474F20524F4F5420434552544946494341544520415554484F52495459 "0\201\2021\0130\011\006\003U\004\006\023\002US1\0240\022\006\003U\004\012\023\013WELLS FARGO1,0*\006\003U\004\013\023#WELLS FARGO CERTIFICATION AUTHORITY1/0-\006\003U\004\003\023&WELLS FARGO ROOT CERTIFICATE AUTHORITY"
--
John Oliver | SAIC
Defense & Maritime Solutions
Surveillance and Reconnaissance Solutions Division
SPAWAR Systems Center - Pacific | Code 53223
Sr. Systems Administrator
Bldg 600 | Room 428N
Office: (619) 553-9567
Mobile: (571) 481-0198
email@hidden
email@hidden
DCO: email@hidden