Check to see if the certificate is relevant to our organization.
(cert, ssl_orgs)
| 302 | |
| 303 | |
| 304 | def check_org_relevancy(cert, ssl_orgs): |
| 305 | """ |
| 306 | Check to see if the certificate is relevant to our organization. |
| 307 | """ |
| 308 | if "subject_organization_name" in cert: |
| 309 | for org in cert["subject_organization_name"]: |
| 310 | if org in ssl_orgs: |
| 311 | return True |
| 312 | |
| 313 | |
| 314 | def check_zone_relevancy(cert, zones): |