Reputation: 61
On my Github enterprise when I install the SSL certificate with the key its displaying an error message:
"Github ssl cert The certificate is not signed by a trusted certificate authority (CA) or the certificate chain is missing intermediate CA signing certificates."
I was given from our certification authority team 4 certificates.
On my Github enterprise management console, it needs 2 entries
I have tried github.pem key alone and with different combination by concatenating CA certificates, but its failing always with the same error.
Is there a pattern to concatenate the certificate?
Any clue how i can resolve this?
Thanks in advance.
Upvotes: 6
Views: 9454
Reputation: 441
Please abide the following steps to add 3 certificates to your .pem file:
Upvotes: 6
Reputation: 37
I had the same issue. When trying to load the PEM and Key files to GitHub Enterprise I got the same message. The cert was created using the exact same methods as I have done before, but was failing.
Github ssl cert The certificate is not signed by a trusted certificate authority (CA) or the certificate chain is missing intermediate CA signing certificates.
Steps I took:
I eventually figured it out by opening the PEM using Notepad++. The openssl commands work fine on the old exported cert, but swap around the ordering of the certs on the new exported cert. The broken cert had:
Primary SSL certificate Root certificate Intermediate certificate
Instead of the correct ordering of:
Primary SSL certificate Intermediate certificate Root certificate
So I swapped them around and it worked.
Upvotes: 2