Yeni SSL sertifikasını Jenkins ile çalışabilir hale getirme.

openssl s_client -showcerts -connect </dev/null 2>/dev/null|openssl x509 -outform PEM > cert.pem
mkdir -p $CUSTOM_TrustStore
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
cp $JAVA_HOME/jre/lib/security/cacerts $CUSTOM_TrustStore
$JAVA_HOME/bin/keytool -keystore /home/jenkins/.cacerts/cacerts -import -alias bb-certs -file cert.pem
JAVA_ARGS=”-Dorg.apache.commons.jelly.tags.fmt.timeZone=Europe/Istanbul -Dmail.smtp.starttls.enable=true”
sudo systemctl restart jenkins
sudo openssl s_client -showcerts -connect </dev/null 2>/dev/null|openssl x509 -outform PEM > /tmp/server_example_com.pem 
sudo cp /tmp/server_example_com.pem /usr/share/ca-certificates/server_example_com.pem
sudo update-ca-certificates




DevOps Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Wild Beyond Hack Online — Premium 100% Working Cheat [999K diamonds]

Why CronTab Is The Ultimate Data Science Back-end Tool

Fostering a Web Performance Culture

Azure DevOps — Pull request validation for a multi .net solution in a large git repo

How I passed AWS CCP Exam with 95% score in one week?

My AWS CCP certification document

OAuth2-based authentication on Istio-powered Kubernetes clusters

WebVM: Client side X86 virtual machines in the browser

Message to LinkedIn group members doesn’t work

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Betül Aslan

Betül Aslan

DevOps Engineer

More from Medium

Java Libraries

Spring Boot and OAuth2

Spring MVC