icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading SSL Certificate Lookup
SHA256 checksum (ssl-certificate-lookup_101.tgz) b2061a35796cdb8c2e46866c08d58145b6032b364f3e36462c54903e06500e38
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

SSL Certificate Lookup

Splunk AppInspect Passed
Admins: Please read about Splunk Enterprise 8.0 and the Python 2.7 end-of-life changes and impact on apps and upgradeshere.
Overview
Details
Provides sslcert_lookup, an external lookup that when given an IP/domain and optionally port, finds values from SSL cert like CN and expiration. This can be handy for several use cases like looking for certificate expiration or discovering what site may be at an IP address.

SA-sslcert_lookup

This supporting add-on provides an external lookup called sslcert_lookup to collect the attributes of an SSL cert at a given address and port. It is built on the Splunk SDK.

Version: 1.0.0

Lookup reference:

sslcert_lookup

Description

Given the input of a domain or ip address and optionally a connecting port (defaults to https 443 port if not specified), the sslcert_lookup returns various attributes of an SSL certificate.

Syntax

search * | lookup sslcert_lookup dest AS <search_field_with_domain_or_ip> [dest_port AS <search_field_with_port>] [OUTPUT <specfic_field_list>]

Required arguments

dest field from search
Syntax: * | lookup sslcert_lookup dest AS <search_field_with_domain_or_ip>
Description: Specify a field with a domain or ip address value.

Optional arguments

dest_port field from search
Syntax: * | lookup sslcert_lookup dest AS <search_field_with_domain_or_ip> dest_port AS <search_field_with_port>
Description: Specify a field with a port to connect to.
Default: 443

sslcert macro

Description

Simple method for running the sslcert_lookup.

Syntax

search * | `sslcert(<search_field_with_domain_or_ip> [, <search_field_with_port>])`

Required arguments

dest field from search
Syntax: * | `sslcert(<search_field_with_domain_or_ip>)`
Description: Specify a field with a domain or ip address value.

Optional arguments

dest_port field from search
Syntax: * | `sslcert(<search_field_with_domain_or_ip>, <search_field_with_port>)`
Description: Specify a field with a port to connect to.
Default: 443

Possible Fields Returned

dest,dest_port,ssl_end_time,ssl_hash,ssl_is_valid,ssl_issuer,ssl_issuer_common_name,ssl_issuer_email,ssl_issuer_locality,ssl_issuer_organization,ssl_issuer_state,ssl_issuer_country,ssl_issuer_unit,ssl_serial,ssl_signature_algorithm,ssl_start_time,ssl_subject,ssl_subject_common_name,ssl_subject_email,ssl_subject_locality,ssl_subject_organization,ssl_subject_state,ssl_subject_country,ssl_subject_unit,ssl_validity_window,ssl_version

Examples

1: Connect to domain

| makeresults | eval dest="splunk.com" | lookup sslcert_lookup dest

2: Connect to domain using macro

| makeresults | eval dest="splunk.com" | `sslcert(dest)`

3: Connect to ip

| makeresults | eval dest="8.8.8.8" | lookup sslcert_lookup dest

4: Connect to host and port

| makeresults | eval dest="mysplunkserver", dest_port=8000 | lookup sslcert_lookup dest dest_port

5: Connect to host and port using macro

| makeresults | eval dest="mysplunkserver", dest_port=8000 | `sslcert(dest, dest_port)`

6: Connect to ip and get only CN

| makeresults | eval dest="8.8.8.8" | lookup sslcert_lookup dest OUTPUT ssl_subject_common_name

Release Notes

Version 1.0.1
July 8, 2019

App inspect fix

30
Installs
117
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2019 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.