Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7bc285d5
Commit
7bc285d5
authored
Mar 11, 2020
by
Imre Farkas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc for making hostname configurable for smartcard authentication
parent
ceaa6b76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
doc/administration/auth/smartcard.md
doc/administration/auth/smartcard.md
+16
-4
No files found.
doc/administration/auth/smartcard.md
View file @
7bc285d5
...
...
@@ -49,7 +49,7 @@ Certificate:
Subject: CN=Gitlab User, emailAddress=gitlab-user@example.com
```
### Authentication against a local database with X.509 certificates and SAN extension
s **(PREMIUM ONLY)**
### Authentication against a local database with X.509 certificates and SAN extension
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/8605) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.3.
...
...
@@ -135,6 +135,12 @@ attribute. As a prerequisite, you must use an LDAP server that:
listen *:3444 ssl;
```
-
It can also be configured to run on a different hostname:
```plaintext
listen smartcard.example.com:443 ssl;
```
-
The additional NGINX server context must be configured to require the client
side certificate:
...
...
@@ -156,7 +162,7 @@ attribute. As a prerequisite, you must use an LDAP server that:
```
plaintext
server {
listen
*:3444
ssl;
listen
smartcard.example.com:3443
ssl;
# certificate for configuring SSL
ssl_certificate /path/to/example.com.crt;
...
...
@@ -195,10 +201,16 @@ attribute. As a prerequisite, you must use an LDAP server that:
# Path to a file containing a CA certificate
ca_file
:
'
/etc/ssl/certs/CA.pem'
# Port where the client side certificate is requested by NGINX
client_certificate_required_port
:
3444
# Host and port where the client side certificate is requested by the
# webserver (NGINX/Apache)
client_certificate_required_host
:
smartcard.example.com
client_certificate_required_port
:
3443
```
NOTE:
**Note**
Assign a value to at least one of the following variables:
`client_certificate_required_host`
or
`client_certificate_required_port`
.
1.
Save the file and
[
restart
](
../restart_gitlab.md#installations-from-source
)
GitLab for the changes to take effect.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment