Commit 26794354 authored by Mike Jang's avatar Mike Jang

Merge branch 'doc-smartcard_omnibus_different_hostname' into 'master'

Document how to use different hostname for smartcard auth in Omnibus

See merge request gitlab-org/gitlab!31093
parents ab55c4f9 4efe55e0
...@@ -117,9 +117,15 @@ attribute. As a prerequisite, you must use an LDAP server that: ...@@ -117,9 +117,15 @@ attribute. As a prerequisite, you must use an LDAP server that:
```ruby ```ruby
gitlab_rails['smartcard_enabled'] = true gitlab_rails['smartcard_enabled'] = true
gitlab_rails['smartcard_ca_file'] = "/etc/ssl/certs/CA.pem" gitlab_rails['smartcard_ca_file'] = "/etc/ssl/certs/CA.pem"
gitlab_rails['smartcard_client_certificate_required_host'] = "smartcard.example.com"
gitlab_rails['smartcard_client_certificate_required_port'] = 3444 gitlab_rails['smartcard_client_certificate_required_port'] = 3444
``` ```
NOTE: **Note**
Assign a value to at least one of the following variables:
gitlab_rails['smartcard_client_certificate_required_host'] or
gitlab_rails['smartcard_client_certificate_required_port'].
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) 1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure)
GitLab for the changes to take effect. GitLab for the changes to take effect.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment