当前位置:网站首页>LDAP application (4) Jenkins access
LDAP application (4) Jenkins access
2022-07-06 08:18:00 【Rain emperor night tears】
LDAP Application articles (4)Jenkins Access
To configure Jenkins Access LDAP You need to be careful , Because once enabled in the configuration LDAP After verifying the user , Previous users will not be able to log in , Include admin Account .
Certificate configuration
If Jenkins adopt ldaps Access , Must be configured separately java Certificate of operating environment . If you use ldap Access Agreement , You can skip this part .
Download and import
Certificate configuration , It only takes two steps , That is, download and import . At the time of import , According to jdk The version location will be slightly different , In especial jdk11 Version above , No more jre Catalog , Please note that !
openssl s_client -connect <address>:636 >> host.crt
keytool -import -trustcacerts -alias <address> -file host1.crt -keystore /usr/java/jdk-17.0.3.1/lib/security/cacerts
When importing certificates , You need to enter the certificate password , The password defaults to : changeit . In fact, I don't know how this came from , It seems that everyone uses it like this ~~~
Some documents will first clear the BEGIN CERTIFICATE and END CERTIFICATE Content , But according to the actual measurement , These operations are not required .
Jenkins Configuration in
Security configuration
Get into Global security configuration in , Fill in the information according to the general operation on the Internet , Note the following two items : User search base And Group search base , Represents the search starting point for users and groups , Don't enter the complete DN Information , Just enter the last section of users and groups ou that will do .
Display Name LDAP attribute One is used to display the user name , But in general posixAccount Account does not have this attribute , It can be changed to cn attribute .
Do not save directly after modification , Be sure to click Test LDAP settings Button , Save after confirmation !!!
Role based matrix authorization
Role based matrix authorization will not be repeated here , Just configured in the previous step LDAP after , It must be here Assign Roles Page Global roles in , Ensure that at least one user has admin role . In this way, the user can be managed normally Jenkins.
Troubleshooting
As mentioned at the beginning , In case of an accident when modifying , Cause unable to log in , It can also be repaired by the following methods . stay Jenkins Look for config.xml file , If the environment variable is configured JENKINS_HOME , The file may be in the specified directory . Open the file , Configure the following content as false :
<useSecurity>flase</useSecurity>
restart Jenkins After service , You will find that the system allows anonymous login , And you can do anything .
Reference material
边栏推荐
- [Yugong series] creation of 009 unity object of U3D full stack class in February 2022
- Chinese Remainder Theorem (Sun Tzu theorem) principle and template code
- 07- [istio] istio destinationrule (purpose rule)
- CAD ARX 获取当前的视口设置
- 指针进阶---指针数组,数组指针
- Make learning pointer easier (3)
- What are the ways to download network pictures with PHP
- Use dumping to back up tidb cluster data to S3 compatible storage
- Use br to back up tidb cluster data to S3 compatible storage
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
猜你喜欢

好用的TCP-UDP_debug工具下载和使用

NFT smart contract release, blind box, public offering technology practice -- jigsaw puzzle

Yyds dry goods inventory three JS source code interpretation eventdispatcher
![[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached](/img/35/898a8086bc35462b0fcb9e6b58b86b.jpg)
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached

Golang DNS write casually

From monomer structure to microservice architecture, introduction to microservices

指针和数组笔试题解析

22. Empty the table

Asia Pacific Financial Media | female pattern ladyvision: forced the hotel to upgrade security. The drunk woman died in the guest room, and the hotel was sentenced not to pay compensation | APEC secur

File upload of DVWA range
随机推荐
Wincc7.5 download and installation tutorial (win10 system)
Online yaml to CSV tool
Oracle time display adjustment
1202 character lookup
Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
MFC 给列表控件发送左键单击、双击、以及右键单击消息
Yyds dry goods inventory three JS source code interpretation eventdispatcher
Asia Pacific Financial Media | female pattern ladyvision: forced the hotel to upgrade security. The drunk woman died in the guest room, and the hotel was sentenced not to pay compensation | APEC secur
Artcube information of "designer universe": Guangzhou implements the community designer system to achieve "great improvement" of urban quality | national economic and Information Center
远程存储访问授权
649. Dota2 Senate
Analysis of pointer and array written test questions
Data governance: misunderstanding sorting
08- [istio] istio gateway, virtual service and the relationship between them
Use dumping to back up tidb cluster data to S3 compatible storage
在 uniapp 中使用阿里图标
Chinese Remainder Theorem (Sun Tzu theorem) principle and template code
Secure captcha (unsafe verification code) of DVWA range
[Yugong series] creation of 009 unity object of U3D full stack class in February 2022
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower