I took a copy of Jenkins_Home to build a copy of the running instance of jenkins on port 8083. I enabled security by following these steps:
-
Select jenkins own database for user authentication.
-
Manage Jenkins -> Create a new user —> admin credentials
Now if I check the config of jenkins in /var/lib/jenkins I can see that useSecurity tag has value true ( earlier it was false )
- Restart jenkins
My jenkins server times -out at the login page. I checked that and someone mentioned that login works on default port 8080, so I changed the port in /etc/default/jenkins to 8080. Still when I give :port in my browser the URL times-out on port 8080 and I get an error :
This page isn't working
If the problem continues, contact the site owner.
HTTP ERROR 401
How do I resolve this issue ?
https://stackoverflow.com/questions/66773770/not-getting-the-login-page-on-jenkins-after-enabling-security March 24, 2021 at 10:05AM
没有评论:
发表评论