10 lines
479 B
Markdown
10 lines
479 B
Markdown
Command to configure git to accept the self signed certificate
|
|
|
|
```bash
|
|
curl -k https://git.fritz.box/Patrick/gitea-git-config/raw/branch/main/git-cert.pem > $HOME/.git.certs.pem
|
|
git config --global http.https://git.fritz.box.sslCAInfo $HOME/.git.certs.pem
|
|
```
|
|
Or as one command:
|
|
```bash
|
|
curl -k https://git.fritz.box/Patrick/gitea-git-config/raw/branch/main/git-cert.pem > $HOME/.git.certs.pem && git config --global http.https://git.fritz.box.sslCAInfo $HOME/.git.certs.pem
|
|
``` |