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

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

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 CSR Generator for Splunk
SHA256 checksum (csr-generator-for-splunk_011.tgz) 5cd27fbcc21f4603c4e1e789f4c2ff24cc3c59bf6a324c32646606c31e66ab8c SHA256 checksum (csr-generator-for-splunk_010.tgz) 6ef093240c31db4b0167c33dbd0f826dafe96c673029717050b26a00ccb16aba SHA256 checksum (csr-generator-for-splunk_002.tgz) aa268dce3cfc4d429b50293adb9cdd339b0f9f2dbafb863f912e9c61bf5be248 SHA256 checksum (csr-generator-for-splunk_001.tgz) f3cfeb0d79dbb4e5609280c113a5c796166d0e30d6449bc5783d8c9920616678
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

CSR Generator for Splunk

Splunk Cloud
Overview
Details
Generate a Certificate Signing Request (CSR) and a private key directly from a simple dashboard UI inside Splunk.

CSR Generator for Splunk

Overview

CSR Generator is a Splunk app that allows users to generate a Certificate Signing Request (CSR) and a private key directly from a simple dashboard UI inside Splunk.

The app leverages the OpenSSL binary bundled with Splunk (splunk cmd openssl) and is fully compatible with Windows and Linux environments.

Release History

Date Version Notes
2024-10-04 0.0.1 Initial release
2024-10-12 0.0.2 Added subjectAltName support, improved input handling, bug fixes
2025-05-21 0.1.0 Major UI/UX redesign, improved CSR engine, full Windows/Linux support

Dashboard


Syntax

| gencsr common_name=<string> country=<string> state=<string> locality=<string> organization=<string> organizationalunit=<string> password=<string> subjectaltname=<string>

Example

| gencsr common_name="example.com" country="US" state="CA" locality="San Francisco" organization="Example Inc." organizationalunit="IT" password="securepassword" subjectaltname="www.example.com,mail.example.com"

Features

  • Generates CSRs using OpenSSL standards.
  • Full cross-platform support (Windows and Linux).
  • Customizable fields: Common Name (CN), Country (C), State (ST), Locality (L), Organization (O), Organizational Unit (OU), and SubjectAltName (SAN).
  • Password protection for the generated private key (PKCS#8 PEM format).
  • Secure in-memory handling of key and CSR (temp files are securely deleted).
  • Outputs CSR and private key directly to the Splunk UI for easy copy/paste.
  • User-friendly dashboard UI with real-time validation and dynamic SAN input.
  • Integrated with Splunk SPL as a custom GeneratingCommand.

New in Version 0.1.0

  • ✅ Complete UI redesign with two-panel layout (form on left, output on right).
  • ✅ Dashboard restyled for clarity, readability, and modern UX.
  • ✅ Full compatibility with Splunk on Windows (no more stdin issues).
  • ✅ Sanitized OpenSSL output (writing RSA key line removed).
  • ✅ Clear separation between logic, layout, and style (JS / CSS / XML).
  • ✅ Responsive design with clean layout for enterprise use.

Known Limitations

  • OpenSSL must be available via splunk cmd openssl.
  • Input validation checks only basic structure (e.g., valid characters in SAN/CN).
  • The app executes synchronously — high-volume CSR generation may require performance tuning.
  • Some OpenSSL validation errors are surfaced raw from stdout/stderr.

Credits

  • Inspired by MS

Links

Release Notes

Version 0.1.1
June 18, 2025
  • Minor Fixes
Version 0.1.0
May 21, 2025
  • UI rebuilt using modular SimpleXML layout with custom JS/CSS separation and explicit grid logic.
  • Decoupled rendering logic from command execution to improve maintainability and cross-browser behavior.
  • Replaced STDIN key handling with file-based input to ensure openssl works reliably on both Windows and Linux.
  • Output normalization: removed injected OpenSSL stderr content and ensured raw PEM output for both CSR and private key.
  • Refactored dashboard styling using scoped selectors and isolation-friendly CSS to avoid conflict with Splunk base styles.
  • Optimized DOM structure for better performance and rendering inside Splunk’s Web Framework under constrained environments.
Version 0.0.2
Oct. 11, 2024

New Features:

  • SAN Support: Specify multiple Subject Alternative Names for greater flexibility.
  • Dynamic Fields: Add or remove SAN fields in the CSR form.
  • Improved Validation: Enhanced checks for common name, country, state, and organization fields.

Improvements:

  • Default Values: Automatically apply defaults (e.g., "US" for country) for empty fields.
  • UI Enhancements: Better layout for CSR and key output display.
  • Optimized OpenSSL Process: Simplified CSR creation when no SAN is provided.

Bug Fixes:

  • CSR Output: Resolved issues with missing common name in the CSR.
  • Field Truncation: Fixed incorrect truncation of "N/A" fields.
  • Display Issues: Corrected CSR and key output visibility in the dashboard.
Version 0.0.1
Oct. 5, 2024

Subscribe Share

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 from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk LLC in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.