-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Add the Let's Encrypt Root & Intermediate certificates to the installer #3375
Comments
The bundle is generated based on Mozillas CA list and should include let's encrypts |
Thanks for the clarification. The certificate path of the server certificate looks like this: As I wrote, I just amended the ca-bundle file with the R3 certificate to get it working. Not sure what I need to change on the gogs server side to get a certificate signed by the ISRG Root X1... I'll do some investigation though... |
As per this page https://letsencrypt.org/certificates/
X3 to R3 seems to be retired and inactive. You may just have to renew.
Best regards, Mike
…On Fri, Aug 20, 2021, 2:52 PM tom-11880 ***@***.***> wrote:
Thanks for the clarification.
The certificate path of the server certificate looks like this:
[image: 2021-08-20 20_42_48-Zertifikat]
<https://user-images.githubusercontent.com/20478537/130279526-663a6186-e69f-4892-8776-a0dd85de8c29.png>
As I wrote, I just amended the ca-bundle file with the R3 certificate to
get it working.
Not sure what I need to change on the gogs server side to get a
certificate signed by the ISRG Root X1... I'll do some investigation
though...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3375 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZH5SH6LWU7OYFPCU62BJLT52P6HANCNFSM5CORPFTQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
The certificate is brand new --- I set up the server 3 days ago. |
According to the page you referenced: "Under normal circumstances, certificates issued by Let’s Encrypt will come from “R3”, an RSA intermediate." The certificates for stackoverflow.com or letsencrypt.org are coming from R3 as well. I just renewed the cert and it does come from R3 And according to https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ the R3 root expires on September 30. |
R3 itself is not the problem, the problem is with what root CA that cert is
signed with.
R3 needs to be signed by the X1 root CA as per that webpage.
If you downloaded the R3 cert yourself and put together the chain, then you
picked the wrong R3 cert (if that's possible, sorry should I be wrong
here). If the one you have was provided to you with chain, then the chain
is not right. The chain needs to lead up to the X1 root CA. I have no idea
when you request a cert whether you can choose the chain or if that's
simply a mistake by letsencrypt.
If you used scripts/tools to request the cert, check whether they can be
updated.
…On Fri, Aug 20, 2021, 8:07 PM tom-11880 ***@***.***> wrote:
According to the page you referenced:
"Under normal circumstances, certificates issued by Let’s Encrypt will
come from “R3”, an RSA intermediate."
The certificates for stackoverflow.com or letsencrypt.org are coming from
R3 as well.
I just renewed the cert and it does come from R3
And according to
https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
the R3 root expires on September 30.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3375 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZH5SCW5HBFRRA2FJ4ZO4TT53U4RANCNFSM5CORPFTQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
So it's probably just windows displaying only one of multiple certificate chains. |
Confusing - but thanks for your support anyways :-) I'm using a powershell module named "Posh-ACME", which (as I just learned) has a -PreferredChain parameter... I will test this on Monday and come back later with any findings ... |
I fixed the problem. Instead of fiddling around with the local ca-bundle.crt, I added the intermediate R3 certificate to the end of the server certificate file and restarted gogs. |
Setup
defaults?
to the issue you're seeing?
** insert your response here **
Details
Git Bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
I expected the push to succeed
I got the following erro message: SSL Certificate problem: unable to get local issuer certificate.
URL to that repository to help us with testing?
No, it is not a public URL.
I was able to fix the problem by adding the LetsEncrypt R3 certificate from https://letsencrypt.org/certificates/ to the bottom of
C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt
Probably it would be a good idea to amend the installer with this certificates as well since more and mor servers are using Let'sEncrypt certificates.
The text was updated successfully, but these errors were encountered: