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
8dd0ff95
Commit
8dd0ff95
authored
May 14, 2020
by
Shem Gyll
Committed by
Marcia Ramos
May 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation: Added X509 key values mismatch error section
parent
62b2360f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
doc/administration/troubleshooting/ssl.md
doc/administration/troubleshooting/ssl.md
+38
-0
No files found.
doc/administration/troubleshooting/ssl.md
View file @
8dd0ff95
...
...
@@ -46,6 +46,44 @@ After configuring a GitLab instance with an internal CA certificate, you might n
If you have the problems listed above, add your certificate to
`/etc/gitlab/trusted-certs`
and run
`sudo gitlab-ctl reconfigure`
.
## X.509 key values mismatch error
After configuring your instance with a certificate bundle, NGINX may throw the
following error:
`SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch`
This error means that the server certificate and key you have provided do not
match. You can confirm this by running the following command and comparing the
output:
```
shell
openssl rsa
-noout
-modulus
-in
path/to/your/.key | openssl md5
openssl x509
-noout
-modulus
-in
path/to/your/.crt | openssl md5
```
The following is an example of an md5 output between a matching key and certificate. Note the
matching md5 hashes:
```
shell
$
openssl rsa
-noout
-modulus
-in
private.key | openssl md5
4f49b61b25225abeb7542b29ae20e98c
$
openssl x509
-noout
-modulus
-in
public.crt | openssl md5
4f49b61b25225abeb7542b29ae20e98c
```
This is an opposing output with a non-matching key and certificate which shows different md5 hashes:
```
shell
$
openssl rsa
-noout
-modulus
-in
private.key | openssl md5
d418865077299af27707b1d1fa83cd99
$
openssl x509
-noout
-modulus
-in
public.crt | openssl md5
4f49b61b25225abeb7542b29ae20e98c
```
If the two outputs differ like the above example, there is a mismatch between the certificate
and key. You should contact the provider of the SSL certificate for further support.
## Using GitLab Runner with a GitLab instance configured with internal CA certificate or self-signed certificate
Besides getting the errors mentioned in
...
...
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