Last active
June 6, 2023 13:22
-
-
Save sarmbruster/29f2cff9eeb6cacd73dea2523744b833 to your computer and use it in GitHub Desktop.
neo4j with self signed certificates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#!/bin/bash | |
# Generate a private key | |
openssl genpkey -algorithm RSA -out private.key | |
# Generate a certificate signing request (CSR) | |
openssl req -new -key private.key -subj "/C=DE/L=Munich/O=Company/CN=www.myurl.com" -out certificate.csr | |
# Generate a self-signed certificate using the CSR and private key | |
openssl x509 -req -days 365 -in certificate.csr -signkey private.key -out certificate.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment