Hello.

I am in corporate proxy environment.

I can't access https page by default.

Simple fix solution is add cert to jenkins docker image and run 
update-ca-certificates command,
but I want to fix in helm chart.

I think I need to run below commands
mkdir $JENKINS_HOME/.cacerts/
cp $JAVA_HOME/jre/lib/security/cacerts $JENKINS_HOME/.cacerts/
$JAVA_HOME/bin/keytool -keystore $JENKINS_HOME/.cacerts/cacerts -import -
alias my -file ca.crt

How to do this in helm chart?


Now, I created secret for ca.crt and volume mount, and I can add in 
JavaOpts  

-Djavax.net.ssl.trustStore=$JENKINS_HOME/.cacerts/cacerts
-Djavax.net.ssl.trustStorePassword=changeit


Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/96854eb2-9c5c-4195-9ea8-b79552d7af92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to