CertificatesTroubleshoot

Exports all certificate-related information from the Python Docker container and decodes it using RFC. It also retrieves the certificate located in the specified endpoint.

python · Troubleshoot

Details

IDCertificatesTroubleshoot
Languagepython
From Version5.0.0
Docker Imagedemisto/auth-utils:1.0.0.10133006
TagsUtility

README

This automation exports all custom certificate-related information from the Python Docker container and decode it using RFC. In addition, it will get the certificate located in the specified endpoint.

Notes


After following the tutorial (Cortex XSOAR 6.13) or tutorial (Cortex XSOAR 8 Cloud) or tutorial (Cortex XSOAR 8.7 On-prem) to update your custom certificate in Cortex XSOAR Server/ Cortex XSOAR Engine, validate the configuration applied using this script.

The script supports two modes of operation:

  1. python: Uses the Python built-in SSL library to detect the endpoint’s certificates.
  2. openssl: Uses the OpenSSL client to detect the endpoint’s certificates. Use this mode if the python mode fails for some reason.

When reporting issues always run this script with debug-mode=true and include the debug-mode log file.

Script Data


Name Description
Script Type python3
Tags Utility

Inputs


Argument Name Description
endpoint The endpoint identifier IP address or URL:Port. If the port is not included, 443 will be used by default.
port The endpoint port. Default is 443.
mode Operation mode. Determines how the endpoint is inspected. Either using python built-in SSL or openssl client.

Outputs


Path Description Type
TroubleShoot.Engine.SSL/TLS.ShellVariables.SSL_CERT_FILE The SSL_CERT_FILE environment variable. For example, “/etc/custom-python-ssl/certs.pem” String
TroubleShoot.Engine.SSL/TLS.ShellVariables.CERT_FILE The CERT_FILE environment variable. For example, “/etc/custom-python-ssl/certs.pem”. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.OrganizationalUnitName The unit name of the organization that is the holder of the engine custom SSL certificate. For example, “Content”. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.OrganizationName The name of the organization that is the holder of the engine custom SSL certificate. For example, “Cortex XSOAR”. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.BusinessCategory The business category of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.Title The title of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.SerialNumber The serial number of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.StateOrProvinceName The state or province of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.DomainComponent The DNS domain name of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.GivenName The given name of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.Pseudonym The pseudonym of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.JurisdictionStateOrProvinceName The jurisdiction state or province of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.GenerationQualifier The generation qualifier of the holder of the engine custom SSL certificate. For example, 3rd generation. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.LocalityName The locality of the holder of the engine custom SSL certificate. For example, “Birmingham”. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.SurName The surname of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.CommonName The common name of the holder of the engine custom SSL certificate. For example, “Cortex XSOAR TLS”. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.JurisdictionLocalityName The jurisdiction locality of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.StreetAddress The street address of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.PostalCode The postal code of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.PostalAddress The postal address of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.JurisdictionCountryName The jurisdiction country name of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.CountryName The country of the holder of the engine custom SSL certificate. For example, “GB”. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.EmailAddress The email address of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.DomainNameQualifier The domain name qualifier of the holder of the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.OrganizationalUnitName The unit name of the organization of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.OrganizationName The name of the organization of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.BusinessCategory The business category of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.Title The title of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.SerialNumber The serial number of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.StateOrProvinceName The state or province of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.DomainComponent The DNS domain name of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.GivenName The given name of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.Pseudonym The pseudonym of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.JurisdictionStateOrProvinceName The jurisdiction state or province of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.GenerationQualifier The generation qualifier of the authority that issued the engine custom SSL certificate. For example, 3rd generation. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.LocalityName The locality of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.SurName The surname of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.CommonName The common name of the authority that issued the engine custom SSL certificate. For example, “Cortex XSOAR TLS”. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.JurisdictionLocalityName The jurisdiction locality of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.StreetAddress The street address of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.PostalCode The postal code of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.PostalAddress The postal address of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.JurisdictionCountryName The jurisdiction country name of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.CountryName The country of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.EmailAddress The email address of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.DomainNameQualifier The domain name qualifier of the authority that issued the engine custom SSL certificate. String
TroubleShoot.Engine.SSL/TLS.Certificates.Decode.Extentions.IssuerAlternativeName The alternate names of the issuer. String
TroubleShoot.Engine.SSL/TLS.Certificates.Decode.Extentions.SubjectAlternativeName The alternate names of the subject. String
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidBefore The beginning of the validity period for the certificate in UTC format. Date
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidAfter The end of the validity period for the certificate in UTC format. Date
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Version The version of the certificate. Number
TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Raw The raw engine custom SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.OrganizationalUnitName The unit name of the organization that is the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.OrganizationName The name of the organization that is the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.BusinessCategory The business category of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.Title The title of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.SerialNumber The serial number of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.StateOrProvinceName The state or province of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.DomainComponent The DNS domain name of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.GivenName The given name of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.Pseudonym The pseudonym of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.JurisdictionStateOrProvinceName The jurisdiction state or province of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.GenerationQualifier The generation qualifier of the holder of the endpoint SSL certificate. For example, 3rd generation. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.LocalityName The locality of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.SurName The surname of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.CommonName The common name of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.JurisdictionLocalityName The jurisdiction locality of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.StreetAddress The street address of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.PostalCode The postal code of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.PostalAddress The postal address of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.JurisdictionCountryName The jurisdiction country name of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.CountryName The country of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.EmailAddress The email address of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.DomainNameQualifier The domain name qualifier of the holder of the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.OrganizationalUnitName The unit name of the organization of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.OrganizationName The name of the organization of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.BusinessCategory The business category of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.Title The title of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.SerialNumber The serial number of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.StateOrProvinceName The state or province of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.DomainComponent The DNS domain name of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.GivenName The given name of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.Pseudonym The pseudonym of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.JurisdictionStateOrProvinceName The jurisdiction state or province of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.GenerationQualifier The generation qualifier of the authority that issued the endpoint SSL certificate. For example, 3rd generation. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.LocalityName The locality of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.SurName The surname of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.CommonName The common name of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.JurisdictionLocalityName The jurisdiction locality of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.StreetAddress The street address of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.PostalCode The postal code of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.PostalAddress The postal address of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.JurisdictionCountryName The jurisdiction country name of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.CountryName The country of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.EmailAddress The email address of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.DomainNameQualifier The domain name qualifier of the authority that issued the endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Extentions.IssuerAlternativeName The alternate names of the issuer. String
TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Extentions.SubjectAlternativeName The alternate names of the subject. String
TroubleShoot.Endpoint.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidBefore The beginning of the validity period for the certificate in UTC format. Date
TroubleShoot.Endpoint.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidAfter The end of the validity period for the certificate in UTC format. Date
TroubleShoot.Endpoint.SSL/TLS.CustomCertificateAuthorities.Decode.Version The version of the certificate. Number
TroubleShoot.Endpoint.SSL/TLS.Certificates.Raw The raw endpoint SSL certificate. String
TroubleShoot.Endpoint.SSL/TLS.Identifier The endpoint SSL identifier. String

Command Example

CertificatesTroubleshoot endpoint=google.com port=443

Context Example

{
    "TroubleShoot": {
        "Engine": {
            "SSL/TLS": {
                "ShellVariables": {
                    "SSL_CERT_FILE": "/etc/custom-python-ssl/certs.pem", 
                    "CERT_FILE": "/etc/custom-python-ssl/certs.pem"
                }, 
                "CustomCertificateAuthorities": [
                    {
                        "Decode": {
                            "Subject": {
                                "OrganizationalUnitName": [
                                    "Content"
                                ], 
                                "OrganizationName": [
                                    "Demisto"
                                ], 
                                "BusinessCategory": null, 
                                "Title": null, 
                                "SerialNumber": null, 
                                "StateOrProvinceName": [
                                    "Hamerkaz"
                                ], 
                                "DomainComponent": null, 
                                "GivenName": null, 
                                "Pseudonym": null, 
                                "JurisdictionStateOrProvinceName": null, 
                                "GenerationQualifier": null, 
                                "LocalityName": [
                                    "Tel Aviv"
                                ], 
                                "SurName": null, 
                                "CommonName": [
                                    "Demisto TLS"
                                ], 
                                "JurisdictionLocalityName": null, 
                                "StreetAddress": null, 
                                "PostalCode": null, 
                                "PostalAddress": null, 
                                "JurisdictionCountryName": null, 
                                "CountryName": [
                                    "IL"
                                ], 
                                "EmailAddress": [
                                    "test@gmail.com""
                                ], 
                                "DomainNameQualifier": null
                            }, 
                            "Issuer": {
                                "OrganizationalUnitName": [
                                    "Content"
                                ], 
                                "OrganizationName": [
                                    "Demisto"
                                ], 
                                "BusinessCategory": null, 
                                "Title": null, 
                                "SerialNumber": null, 
                                "StateOrProvinceName": [
                                    "Hamerkaz"
                                ], 
                                "DomainComponent": null, 
                                "GivenName": null, 
                                "Pseudonym": null, 
                                "JurisdictionStateOrProvinceName": null, 
                                "GenerationQualifier": null, 
                                "LocalityName": [
                                    "Tel Aviv"
                                ], 
                                "SurName": null, 
                                "CommonName": [
                                    "Demisto TLS"
                                ], 
                                "JurisdictionLocalityName": null, 
                                "StreetAddress": null, 
                                "PostalCode": null, 
                                "PostalAddress": null, 
                                "JurisdictionCountryName": null, 
                                "CountryName": [
                                    "IL"
                                ], 
                                "EmailAddress": [
                                    "test@gmail.com""
                                ], 
                                "DomainNameQualifier": null
                            }
                        }, 
                        "Raw": "-----BEGIN CERTIFICATE-----\nxxxxx\n-----END CERTIFICATE-----\n"
                    }
                ]
            }
        }, 
        "Endpoint": {
            "SSL/TLS": {
                "Certificates": [
                    {
                        "Decode": {
                            "Subject": {
                                "OrganizationalUnitName": [
                                    "Test"
                                ], 
                                "OrganizationName": [
                                    "Content"
                                ], 
                                "BusinessCategory": null, 
                                "Title": null, 
                                "SerialNumber": null, 
                                "StateOrProvinceName": [
                                    "Demisto"
                                ], 
                                "DomainComponent": null, 
                                "GivenName": null, 
                                "Pseudonym": null, 
                                "JurisdictionStateOrProvinceName": null, 
                                "GenerationQualifier": null, 
                                "LocalityName": null, 
                                "SurName": null, 
                                "CommonName": [
                                    "test.compute-1.amazonaws.com"
                                ], 
                                "JurisdictionLocalityName": null, 
                                "StreetAddress": null, 
                                "PostalCode": null, 
                                "PostalAddress": null, 
                                "JurisdictionCountryName": null, 
                                "CountryName": [
                                    "IL"
                                ], 
                                "EmailAddress": [
                                    "test@gmail.com""
                                ], 
                                "DomainNameQualifier": null
                            }, 
                            "Issuer": {
                                "OrganizationalUnitName": [
                                    "Content"
                                ], 
                                "OrganizationName": [
                                    "Demisto"
                                ], 
                                "BusinessCategory": null, 
                                "Title": null, 
                                "SerialNumber": null, 
                                "StateOrProvinceName": [
                                    "Hamerkaz"
                                ], 
                                "DomainComponent": null, 
                                "GivenName": null, 
                                "Pseudonym": null, 
                                "JurisdictionStateOrProvinceName": null, 
                                "GenerationQualifier": null, 
                                "LocalityName": [
                                    "Tel Aviv"
                                ], 
                                "SurName": null, 
                                "CommonName": [
                                    "Demisto TLS"
                                ], 
                                "JurisdictionLocalityName": null, 
                                "StreetAddress": null, 
                                "PostalCode": null, 
                                "PostalAddress": null, 
                                "JurisdictionCountryName": null, 
                                "CountryName": [
                                    "IL"
                                ], 
                                "EmailAddress": [
                                    "test@gmail.com"
                                ], 
                                "DomainNameQualifier": null
                            }
                        }, 
                        "Raw": "-----BEGIN CERTIFICATE-----\nxxxx\n-----END CERTIFICATE-----\n"
                    }
                ], 
                "Identifier": "test.compute-1.amazonaws.com",
                "NotValidBefore": "2020-09-22 11:37:45",
                "NotValidAfter": "2025-09-21 11:37:45",
                "Version": 0,
                "Extentions: {
                    "IssuerAlternativeName": [*.google.com, *.appengine.google.com],
                    "SubjectAlternativeName": [*.google.com, *.appengine.google.com]
                }
            }
        }
    }
}

Human Readable Output

Docker container engine - custom certificate

Enviorment variables

CERT_FILE SSL_CERT_FILE
/etc/custom-python-ssl/certs.pem /etc/custom-python-ssl/certs.pem

General

NotValidBefore NotValidAfter Version
2020-09-22 15:22:19 2020-12-15 15:22:19 2

Issuer

CommonName CountryName EmailAddress LocalityName OrganizationName OrganizationalUnitName StateOrProvinceName
Demisto TLS IL all@paloaltonetworks.com Tel Aviv Demisto Content Hamerkaz

Subject

CommonName CountryName EmailAddress LocalityName OrganizationName OrganizationalUnitName StateOrProvinceName
Demisto TLS IL all@paloaltonetworks.com Tel Aviv Demisto Content Hamerkaz

Endpoint certificate - ec2.eu.compute-1.amazonaws.com

General

NotValidBefore NotValidAfter Version
2020-09-22 15:22:19 2020-12-15 15:22:19 2

Issuer

CommonName CountryName EmailAddress LocalityName OrganizationName OrganizationalUnitName StateOrProvinceName
Demisto TLS IL all@paloaltonetworks.com Tel Aviv Demisto Content Hamerkaz

Subject

CommonName CountryName EmailAddress OrganizationName OrganizationalUnitName StateOrProvinceName
ec2.eu.compute-1.amazonaws.com IL test@gmail.com Content Test Demisto

Extentions

IssuerAlternativeName
.google.com,.android.com,.appengine.google.com,.bdn.dev,*.cloud.google.com
args:
- description: The endpoint identifier IP address or URL. For example, "google.com".
  name: endpoint
  required: true
- description: Operation mode. Determines how the endpoint is inspected. Options are either python or openssl.
  name: mode
  auto: PREDEFINED
  predefined:
  - python
  - openssl
  defaultValue: python
- defaultValue: '443'
  description: The endpoint port. Default is 443.
  name: port
comment: Exports all certificate-related information from the Python Docker container and decodes it using RFC. It also retrieves the certificate located in the specified endpoint.
commonfields:
  id: CertificatesTroubleshoot
  version: -1
enabled: true
name: CertificatesTroubleshoot
outputs:
- contextPath: TroubleShoot.Engine.SSL/TLS.ShellVariables.SSL_CERT_FILE
  description: The SSL_CERT_FILE environment variable. For example, "/etc/custom-python-ssl/certs.pem".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.ShellVariables.CERT_FILE
  description: The CERT_FILE environment variable. For example, "/etc/custom-python-ssl/certs.pem".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.OrganizationalUnitName
  description: The unit name of the organization that is the holder of the engine custom SSL certificate. For example, "Content".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.OrganizationName
  description: The name of the organization that is the holder of the engine custom SSL certificate. For example, "Cortex XSOAR".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.BusinessCategory
  description: The business category of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.Title
  description: The title of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.SerialNumber
  description: The serial number of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.StateOrProvinceName
  description: The state or province of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.DomainComponent
  description: The DNS domain name of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.GivenName
  description: The given name of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.Pseudonym
  description: The pseudonym of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.JurisdictionStateOrProvinceName
  description: The jurisdiction state or province of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.GenerationQualifier
  description: The generation qualifier of the holder of the engine custom SSL certificate. For example, 3rd generation.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.LocalityName
  description: The locality of the holder of the engine custom SSL certificate. For example, "Birmingham".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.SurName
  description: The surname of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.CommonName
  description: The common name of the holder of the engine custom SSL certificate. For example, "Cortex XSOAR TLS".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.JurisdictionLocalityName
  description: The jurisdiction locality of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.StreetAddress
  description: The street address of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.PostalCode
  description: The postal code of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.PostalAddress
  description: The postal address of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.JurisdictionCountryName
  description: The jurisdiction country name of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.CountryName
  description: The country of the holder of the engine custom SSL certificate. For example, "GB".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.EmailAddress
  description: The email address of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Subject.DomainNameQualifier
  description: The domain name qualifier of the holder of the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.OrganizationalUnitName
  description: The unit name of the organization of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.OrganizationName
  description: The name of the organization of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.BusinessCategory
  description: The business category of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.Title
  description: The title of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.SerialNumber
  description: The serial number of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.StateOrProvinceName
  description: The state or province of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.DomainComponent
  description: The DNS domain name of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.GivenName
  description: The given name of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.Pseudonym
  description: The pseudonym of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.JurisdictionStateOrProvinceName
  description: The jurisdiction state or province of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.GenerationQualifier
  description: The generation qualifier of the authority that issued the engine custom SSL certificate. For example, 3rd generation.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.LocalityName
  description: The locality of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.SurName
  description: The surname of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.CommonName
  description: The common name of the authority that issued the engine custom SSL certificate. For example, "Cortex XSOAR TLS".
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.JurisdictionLocalityName
  description: The jurisdiction locality of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.StreetAddress
  description: The street address of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.PostalCode
  description: The postal code of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.PostalAddress
  description: The postal address of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.JurisdictionCountryName
  description: The jurisdiction country name of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.CountryName
  description: The country of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.EmailAddress
  description: The email address of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Issuer.DomainNameQualifier
  description: The domain name qualifier of the authority that issued the engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Extentions.IssuerAlternativeName
  description: The alternate name of the issuer.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Extentions.SubjectAlternativeName
  description: The alternate name of the subject.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidBefore
  description: The beginning of the validity period for the certificate in UTC format.
  type: Date
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidAfter
  description: The end of the validity period for the certificate in UTC format.
  type: Date
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Version
  description: The version of the certificate.
  type: Number
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Raw
  description: The raw engine custom SSL certificate.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.Identifier
  description: The engine SSL identifier.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.OrganizationalUnitName
  description: The unit name of the organization that is the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.OrganizationName
  description: The name of the organization that is the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.BusinessCategory
  description: The business category of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.Title
  description: The title of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.SerialNumber
  description: The serial number of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.StateOrProvinceName
  description: The state or province of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.DomainComponent
  description: The DNS domain name of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.GivenName
  description: The given name of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.Pseudonym
  description: The pseudonym of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.JurisdictionStateOrProvinceName
  description: The jurisdiction state or province of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.GenerationQualifier
  description: The generation qualifier of the holder of the endpoint SSL certificate. For example, 3rd generation.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.LocalityName
  description: The locality of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.SurName
  description: The surname of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.CommonName
  description: The common name of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.JurisdictionLocalityName
  description: The jurisdiction locality of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.StreetAddress
  description: The street address of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.PostalCode
  description: The postal code of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.PostalAddress
  description: The postal address of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.JurisdictionCountryName
  description: The jurisdiction country name of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.CountryName
  description: The country of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.EmailAddress
  description: The email address of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Subject.DomainNameQualifier
  description: The domain name qualifier of the holder of the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.OrganizationalUnitName
  description: The unit name of the organization of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.OrganizationName
  description: The name of the organization of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.BusinessCategory
  description: The business category of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.Title
  description: The title of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.SerialNumber
  description: The serial number of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.StateOrProvinceName
  description: The state or province of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.DomainComponent
  description: The DNS domain name of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.GivenName
  description: The given name of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.Pseudonym
  description: The pseudonym of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.JurisdictionStateOrProvinceName
  description: The jurisdiction state or province of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.GenerationQualifier
  description: The generation qualifier of the authority that issued the endpoint SSL certificate. For example, 3rd generation.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.LocalityName
  description: The locality of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.SurName
  description: The surname of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.CommonName
  description: The common name of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.JurisdictionLocalityName
  description: The jurisdiction locality of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.StreetAddress
  description: The street address of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.PostalCode
  description: The postal code of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.PostalAddress
  description: The postal address of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.JurisdictionCountryName
  description: The jurisdiction country name of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.CountryName
  description: The country of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.EmailAddress
  description: The email address of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Issuer.DomainNameQualifier
  description: The domain name qualifier of the authority that issued the endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Extentions.IssuerAlternativeName
  description: The alternate name of the issuer.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Decode.Extentions.SubjectAlternativeName
  description: The alternate name of the subject.
  type: String
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidBefore
  description: The beginning of the validity period for the certificate in UTC format.
  type: Date
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.NotValidAfter
  description: The end of the validity period for the certificate in UTC format.
  type: Date
- contextPath: TroubleShoot.Engine.SSL/TLS.CustomCertificateAuthorities.Decode.Version
  description: The version of the certificate.
  type: Number
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Certificates.Raw
  description: The raw endpoint SSL certificate.
  type: String
- contextPath: TroubleShoot.Endpoint.SSL/TLS.Identifier
  description: The endpoint SSL identifier.
  type: String
script: '-'
subtype: python3
tags:
- Utility
timeout: '0'
type: python
dockerimage: demisto/auth-utils:1.0.0.10133006
runas: DBotWeakRole
tests:
- No tests (auto formatted)
fromversion: 5.0.0