Skip to content

Instantly share code, notes, and snippets.

View SoulOfUniverse's full-sized avatar
🤖

Sergejs Kravcenko SoulOfUniverse

🤖
View GitHub Profile
@SoulOfUniverse
SoulOfUniverse / anexample.ps1
Created January 11, 2018 12:56 — forked from kamsar/anexample.ps1
Generate trusted local SSL cert for Solr
# Usage:
# This script is designed to be run after you have Solr running locally without SSL
# It will generate a trusted, self-signed certificate for LOCAL DEV (this must be modified for production)
# Notes: The keystore must be under server/etc on Solr root, and MUST be named solr-ssl.keystore.jks
# The cert will be added to locally trusted certs, so no security warnings in browsers
# You must still reconfigure Solr to use the keystore and restart it after running this script
#
# THIS SCRIPT REQUIRES WINDOWS 10 (for the SSL trust); without 10 remove the lines around trusting the cert.