Showing posts with label Continuous Delivery. Show all posts
Showing posts with label Continuous Delivery. Show all posts

How to configure SSL/TLS for Jenkins

Configuring SSL/TLS AD signed certificate for Jenkins

Enable only TLS 1.2

JENKINS_JAVA_OPTIONS="-Dhttps.protocols=TLSv1.2 -Djava.awt.headless=true"

Configure the certificate

Covert and export pkcs12 version to import into keystore


sudo openssl pkcs12 -inkey /var/lib/jenkins/ssl/myhost.key -in /var/lib/jenkins/ssl/myhost.cer -export -out /var/lib/jenkins/ssl/myhost.pkcs12
sudo keytool -importkeystore -srckeystore /var/lib/jenkins/ssl/myhost.pkcs12 -srcstoretype pkcs12 -destkeystore /var/lib/jenkins/ssl/jenkins.jks

Enter some password where ever it asks. (I have used jenkins)

Edit the /etc/sysconfig/jenkins with following

JENKINS_ARGS="--httpsKeyStore=/var/lib/jenkins/ssl/jenkins.jks --httpsKeyStorePassword=jenkins --httpsPort=8080"

Change jenkins default port Redhat

Open file

vi /etc/sysconfig/Jenkins

Edit the port

# Port Jenkins is listening on. from 8080

Building better organizations with open source engineering tools

Some of the tools which can be used for better Engineering
Source code version Control


Git lab


Open source Github clone

Bitbucket ( If allowed to store code on Internet )


Code reviews


Phabricator
http://phabricator.org/

To be honest Phabricator offers lots of things , and you can depend on this single tool for most of the needs. See the comparison below.


Comparison


Build Servers


Go server


Jenkins


Artifact Repository


Artifactory

Configuration Management Tools for Automation

Puppet
http://puppetlabs.com/

Internal Answer Question portal


http://www.osqa.net/