Skip to content

Instantly share code, notes, and snippets.

@MattHodge
Last active August 29, 2015 14:22
Show Gist options
  • Save MattHodge/ee7efdb3ccd08f5cf6d1 to your computer and use it in GitHub Desktop.
Save MattHodge/ee7efdb3ccd08f5cf6d1 to your computer and use it in GitHub Desktop.
AUTOMATING WITH JENKINS AND POWERSHELL ON WINDOWS – PART 2
# Enter the bin directory inside the OpenSSL install folder
cd C:\OpenSSL-Win64\bin
# Generate a self-signed SSL certificate. Be sure to update your paths if required.
openssl req -newkey rsa:4096 -nodes -sha256 -keyout C:\temp\jenkins.key -x509 -days 365 -out C:\temp\jenkins.crt -config C:\OpenSSL-Win64\bin\openssl.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment