Skip to main content
Bounty Awarded with 50 reputation awarded by Martin Vegter
added 8 characters in body
Source Link
user55518
user55518

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

or authenticated

GIT_SSL_NO_VERIFY=true git clone https://user@pass:github.com/p/repo.git 

For me it is still not clear what are you asking for, because you know that installing ca-certificates will fix the problem.

[Edit #2]

Ok, the other question was

how to have only the certificate which is needed to access github.com via https

  1. Open your browser and navigate to https://github.com/. Klick on the green name on the left from https:// and klick on Certificates. On the Details tab, you'll see the certificate chain, which is:

    DigiCert ... DigiCert ... github.com ... 
  2. Export each of the DigiCert certicates to a file.

  3. copy the files to /etc/ssl/certs/

  4. run c_rehash which cat all certificates to ca-certificates.crt

  5. you are done.

As I said, I am not a friend of such actions because github can change the CA's anytime, so it will always result in additional work.

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

or authenticated

GIT_SSL_NO_VERIFY=true git clone https://user@pass:github.com/p/repo.git 

For me it is still not clear what are you asking for, because you know that installing ca-certificates will fix the problem.

[Edit #2]

Ok, the other question was

how to have only the certificate which is needed to access github.com via https

  1. Open your browser and navigate to https://github.com/. Klick on the green name on the left from https:// and klick on Certificates. On the Details tab, you'll see the certificate chain, which is:

    DigiCert ... DigiCert github.com 
  2. Export each of the DigiCert certicates to a file.

  3. copy the files to /etc/ssl/certs/

  4. run c_rehash which cat all certificates to ca-certificates.crt

  5. you are done.

As I said, I am not a friend of such actions because github can change the CA's anytime, so it will always result in additional work.

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

or authenticated

GIT_SSL_NO_VERIFY=true git clone https://user@pass:github.com/p/repo.git 

For me it is still not clear what are you asking for, because you know that installing ca-certificates will fix the problem.

[Edit #2]

Ok, the other question was

how to have only the certificate which is needed to access github.com via https

  1. Open your browser and navigate to https://github.com/. Klick on the green name on the left from https:// and klick on Certificates. On the Details tab, you'll see the certificate chain, which is:

    DigiCert ... DigiCert ... github.com ... 
  2. Export each of the DigiCert certicates to a file.

  3. copy the files to /etc/ssl/certs/

  4. run c_rehash which cat all certificates to ca-certificates.crt

  5. you are done.

As I said, I am not a friend of such actions because github can change the CA's anytime, so it will always result in additional work.

ansfering a dump Q for the bounty
Source Link
user55518
user55518

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

or authenticated

GIT_SSL_NO_VERIFY=true git clone https://user@pass:github.com/p/repo.git 

For me it is still not clear what are you asking for, because you know that installing ca-certificates will fix the problem.

[Edit #2]

Ok, the other question was

how to have only the certificate which is needed to access github.com via https

  1. Open your browser and navigate to https://github.com/. Klick on the green name on the left from https:// and klick on Certificates. On the Details tab, you'll see the certificate chain, which is:

    DigiCert ... DigiCert github.com 
  2. Export each of the DigiCert certicates to a file.

  3. copy the files to /etc/ssl/certs/

  4. run c_rehash which cat all certificates to ca-certificates.crt

  5. you are done.

As I said, I am not a friend of such actions because github can change the CA's anytime, so it will always result in additional work.

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

For me it is still not clear what are you asking for, because you know that installing ca-certificates will fix the problem.

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

or authenticated

GIT_SSL_NO_VERIFY=true git clone https://user@pass:github.com/p/repo.git 

For me it is still not clear what are you asking for, because you know that installing ca-certificates will fix the problem.

[Edit #2]

Ok, the other question was

how to have only the certificate which is needed to access github.com via https

  1. Open your browser and navigate to https://github.com/. Klick on the green name on the left from https:// and klick on Certificates. On the Details tab, you'll see the certificate chain, which is:

    DigiCert ... DigiCert github.com 
  2. Export each of the DigiCert certicates to a file.

  3. copy the files to /etc/ssl/certs/

  4. run c_rehash which cat all certificates to ca-certificates.crt

  5. you are done.

As I said, I am not a friend of such actions because github can change the CA's anytime, so it will always result in additional work.

added 122 characters in body
Source Link
user55518
user55518

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

For me it'sit is still not clear what are you asking for, because you know that installing ca-certificates will fix yourthe problem.

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

For me it's not clear what are you asking for, because you know that installing ca-certificates will fix your problem.

In order to access your Github you need to do it via ssh. So you need to add your ssh public key to github. After that you are able to access github via ssh i.e.:

git init [email protected]:yourname/yourrepo.git 

See also: Github: generating ssh keys, WikiHow

[Edit #1]

without certificate checks:

GIT_SSL_NO_VERIFY=true git clone https://github.com/p/repo.git 

For me it is still not clear what are you asking for, because you know that installing ca-certificates will fix the problem.

added 135 characters in body
Source Link
user55518
user55518
Loading
Source Link
user55518
user55518
Loading