I have a private network with a local IP. I want to Enable HTTPS for my Jenkins server which is static IP W.X.Y.Z:8080.
Jenkins version 2.9
java version \"1.
If you have a valid certificate and you do not want to enable HTTPS for your Jenkins but still want an SSL enable traffic then here is another way.
In my case, I put Jenkins behind my Nginx web server. So here are the steps which I follow:
sudo apt install nginx
).crt
and
.key
)Changed the nginx configuration in /etc/nginx/sites-available/default
file to something like this:
ssl_certificate /etc/nginx/.crt;
ssl_certificate_key /etc/nginx/.key;
Follow the steps mentioned in the Jenkins Wiki.
By doing these steps the request flow will be like this:
IP: port
) where Jenkins is running.You can do the same with Apache, HAProxy, and squid, see