Skip to content

Instantly share code, notes, and snippets.

View nmarchini's full-sized avatar
🏠
Working from home

Nick Marchini nmarchini

🏠
Working from home
View GitHub Profile
@mattchilds1
mattchilds1 / jenkins-self-sign-cert
Created April 24, 2018 15:33
A gist to configure Jenkins to serve over 8443 (HTTPS/TLS) with a self signed certificate. Intended to be used on AWS behind an ALB serving jenkins over 443 (HTTPS/TLS) with a public certificate.
## Stop jenkins service
sudo service jenkins stop
## Disable Jenkins HTTPS port
sudo sed -i 's|JENKINS_PORT="8080"|JENKINS_PORT="-1"|g' /etc/sysconfig/jenkins
## Add Jenkins HTTPS port (8433)
sudo sed -i 's|JENKINS_HTTPS_PORT=""|JENKINS_HTTPS_PORT="8433"|g' /etc/sysconfig/jenkins
## Add Jenkins HTTPS keystore
@bsara
bsara / git-ssh-auth-win-setup.md
Last active May 20, 2024 09:58
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config