I got problem. I’m trying to make new gitea server on Debian 11 system.
When i try to download gitea a got this issue :
–2023-11-07 09:28:47-- https //dl gitea com/gitea/1.21/gitea-1.21-darwin-12.12-amd64
Resolving dl gitea com (dl gitea com)… 220.127.116.11, 18.104.22.168, 22.214.171.124, …
Connecting to dl gitea com (dl.gitea.com)|126.96.36.199|:443… connected.
ERROR: The certificate of ‘dl gitea com’ is not trusted.
ERROR: The certificate of ‘dl.gitea.com’ doesn’t have a known issuer.
I’m trying to resolve this for 10 hours and can’t do it alone. Do you know what to do in this situation?
*I deleted dots from links becouse I’m new user and i have limitations on how many link i can use.
I don’t know what happened with df.gitea.com, you can try again with
no-check certificate argument (for wget).Or have you ever
apt update and
If you still can not download ,you can
- download any (release version) gitea binary file from Releases · go-gitea/gitea (github.com)
- download it on any other machine and copy it to your debian by
scp or something
BTW you should download linux version for debian,instead of darwin,it is used for macos
Thank you for your advice!
I passed this issue by --no-check-certificate in wget command.
But anyway thank you for your effort
You should never use
--no-check-certificate because it bypasses security checks and allows an attacker to modify the binary (like installing a virus inside Gitea’s binary) with a Man-in-the-Middle attack.
You should instead install the
ca-certificates package so that your system can properly download files securely.
I have installed
ca-certificates on my server, but still i cannot download from gitea or any other https.
Strange, that issue is probably better for another forum but what is the output of
echo | openssl s_client -showcerts -servername dl.gitea.com -connect dl.gitea.com:443 on the server? That command will initiate SSL connection with Gitea server, send empty command, and then exit while outputting relevant details.