How to Enable SSL in Jenkins

  Рет қаралды 29,169

CloudBeesTV

CloudBeesTV

Күн бұрын

Пікірлер
@tylervandermate
@tylervandermate 2 жыл бұрын
This is the best explanation I've found on how to enable SSL/TLS Certs irregardless of this particular use case in Jenkins. Thank you!
@a.k.m.ahasankabir9768
@a.k.m.ahasankabir9768 7 ай бұрын
The video is very helpful for enabling SSL/TLS on the Jenkins controller. In my opinion, any sensitive information must be encrypted end-to-end. Otherwise, an internal intruder, attacker, or security engineer may extract the sensitive information using packet capture.
@hackaniceday
@hackaniceday 2 жыл бұрын
This is the best tutorial for enable SSL in Jenkins!
@Krzysiek1298J
@Krzysiek1298J 2 жыл бұрын
Thanks a lot for this tutorial. Knowledge transferred fantastically. I have successfully installed the certificate on my Jenkins instance.
@sanjayb2939
@sanjayb2939 3 жыл бұрын
I cant see "JENKINS_HTTPS_PORT" in the "/etc/default/Jenkins file " in ubuntu
@codebreakdown5025
@codebreakdown5025 2 жыл бұрын
I didn't have it either. But as far as I'm aware it is just a variable that is used later in the same file to build JENKINS_ARGS (similar to how you might have had HTTP_PORT or something like that). So it's not a big deal if you didn't have it - you can just add it. To make it work though, you'll need to ensure that it's is properly used in JENKINST_ARGS params (again it should be defined in the same file, probably somewhere at the bottom of it), e.g. like this: JENKINS_ARGS="--webroot=/var/cache/$NAME/war --httpsPort=$JENKINS_HTTPS_PORT --httpPort=$HTTP_PORT --httpsKeyStore=[pass to your keystore] --httpsKeyStorePassword=[your keystore password here]"
@StaRRFeaK
@StaRRFeaK Жыл бұрын
at 5:40 what key file how do you get this
@premierleague3824
@premierleague3824 3 жыл бұрын
does this work if you have Jenkins running as docker on ec2 instance on aws ?
@fatihonuryenice7080
@fatihonuryenice7080 Жыл бұрын
how can i find the same solution in windows
@mzw8374
@mzw8374 2 жыл бұрын
In ubuntu 20.04, I couldn't find HTTPS on /etc/default/jenkins, how can I do that?
@billaprashanth8759
@billaprashanth8759 2 жыл бұрын
Same problem
@nyang75
@nyang75 11 ай бұрын
Unfortunately as of Jan 2024, the Jenkins installed on AlmaLinux9, the above video not applicable, there is no such jenkins file,
@wisesan123
@wisesan123 3 жыл бұрын
Beautiful session
@shivamanand4436
@shivamanand4436 2 жыл бұрын
very good explanation
@an69
@an69 2 жыл бұрын
I disabled port 8080, enabled port 8443, enabled 8443 on sg, restarted jenkins, but not able to access jenkins at ip:8443. Any help?
@rajindergandhi3437
@rajindergandhi3437 2 жыл бұрын
what are the list of certificate you have added in crt. file
@basiccommand
@basiccommand 3 жыл бұрын
Hello, can someone help me. I create ssl certificate with openssl, and i trying configure my jenkins same with video, but it not work
@buma1306
@buma1306 3 жыл бұрын
Dear Darin, thanks for the nice video. Maybe a stupid question. Is it possible to host jenkins in virtual box and host it there only on demand. So it is not used that often, so running a server in the cloud even for very little money I consider is not really necessary. So I am asking specifically if it is possible to install, host and operate "occasionally" the jenkins incl. a proper ssl communication - accessible from the internet? I was trying now for about 3 days but I am unfortunately not eable to get the configuration right for having a jenkins instance avaialble from the internet with a proper ssl certificate. May I kindly ask for your help please? Or at least some hints on how to get that config right? (Btw. I already tried playing around with an apache2 in front of it with reverse proxy config - but also that didn't work out. Thank you so much in advance for your support. Kind regards, Mario
@buma1306
@buma1306 3 жыл бұрын
Dear all I finally found the answer to my question - it was not related to apache at all - what I head to do was simply changing the mode of networking in virtual box. Oh my god, it was so simple and I was searching for this for more than 3 days.... :-) Really glad I found it. In case anyone out there has a question regarding this problem, please let me know, maybe I can be of help here as I was really deep diving into this for the last week. Everything works, even with the proper certificates and so one - really nicely. Have a wonderful day. Kind regards, Mario
@chandrashekhar152
@chandrashekhar152 3 жыл бұрын
Nice session 👍 sir
@marlenatorres45
@marlenatorres45 Жыл бұрын
Is this possible on windows?
@samarthgupta5897
@samarthgupta5897 8 ай бұрын
bro canu tellme how u did it in windows?
@vaibhav5163
@vaibhav5163 3 жыл бұрын
thanks
@cernenwein
@cernenwein Жыл бұрын
So choppy
@boykovasilev8834
@boykovasilev8834 2 жыл бұрын
doesn't work on Ubuntu. in order to change HTTP, I must use "override.conf" file. If I use the same conf file, I can't define HTTPS port.
@vikramangadi
@vikramangadi 3 жыл бұрын
After enabling the https_port = 8443, when I type my ipv4 address for Jenkins with:8443 it says site cannot be reached
@codebreakdown5025
@codebreakdown5025 2 жыл бұрын
Did you confirm that Jenkins started successfully listening to that port? You can check that in Jenkins logs (on ubuntu it's /var/log/jenkins) and there you're supposed to see something like this "Started ServerConnector {SSL, (ssl, http/1.1)}{0.0.0.0:8443}" . If that looks OK, then it's probably firewall (e.g. cloud providers might enable UFW on Ubuntu). If you run it on Ubuntu try to do next: 1) Double check if port is open by running "ufw status" 2) If you don't see line like "8443 ALLOW Anywhere" then you might need to add it by running "sudo ufw allow 8443"
@subzero2289
@subzero2289 Жыл бұрын
I agree with @Code Breakdown you should check your firewall settings and allow 8443 and after applying this, you'll need to run a reload to ensure changes are reflected.
@jasonwoodside4949
@jasonwoodside4949 2 жыл бұрын
If I use 'systemctl edit jennkins' and simply add : [Service] Environment="JENKINS_PORT=-1" Environment="JENKINS_HTTPS_PORT=8443" and then restart the jenkins service, it fails to start with the following error: Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xeu jenkins.service" for details. Any ideas? (Ubuntu) The status and journal output aren't really of any help.
@Ujjaval___
@Ujjaval___ 6 ай бұрын
do you have java installed right?
@ramoneduardo
@ramoneduardo 3 жыл бұрын
A tip for the certs: # chmod 400 /var/lib/jenkins/.ssh/* and for the firewall : # firewall-cmd --permanent --add-port=443/tcp # firewall-cmd --permanent --add-forward-port=port=443:proto=tcp:toport=8443 # firewall-cmd --reload
Using tfsec and Jenkins to Secure Your Terraform Code
8:24
CloudBeesTV
Рет қаралды 3 М.
How to Create an Agent Node in Jenkins
23:57
CloudBeesTV
Рет қаралды 101 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
Laith Academy
Рет қаралды 147 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 880 М.
How to Configure Artifactory in Jenkins
13:51
CloudBeesTV
Рет қаралды 17 М.
Let's Encrypt Explained: Free SSL
15:04
That DevOps Guy
Рет қаралды 134 М.
Learn Microsoft Active Directory (ADDS) in 30mins
36:26
Andy Malone MVP
Рет қаралды 986 М.
Jenkins Multibranch Pipeline With Git Tutorial
29:54
CloudBeesTV
Рет қаралды 85 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
How to Enable HTTPS on your Docker Application
8:53
Winston Codes On
Рет қаралды 78 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН