git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to push to http(s) repository with authentication?

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 23, 2008, 19:05 UTC
Message-ID
<20081023190544.GA21079@blimp.localdomain>
In-Reply-To
<20081023175336.GA3526@raven.wolf.lan>
Josef Wolf, Thu, Oct 23, 2008 19:53:37 +0200:
Show 11 quoted lines
> On Mon, Oct 20, 2008 at 08:25:02PM +0200, Josef Wolf wrote:
> 
> > I have set up a repository as described in
> > 
> >   http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt
> > 
> > over SSL with basic authentication.  DAV access works fine with konqueror,
> > cadaver and and curl, using this .curlrc:
> > [ ... ]
> 
> Is nobody interested in this topic?  Or am I in the wrong list?
       --cacert <CA certificate>
              (SSL) Tells curl to use the specified certificate file to verify
              the peer. The file may contain  multiple  CA  certificates.  The
              certificate(s) must be in PEM format.
              curl  recognizes the environment variable named ’CURL_CA_BUNDLE’
              if that is set, and uses the given path as a path to a  CA  cert
              bundle. This option overrides that variable.
              The  windows  version  of  curl will automatically look for a CA
              certs file named ´curl-ca-bundle.crt´, either in the same direc‐
              tory as curl.exe, or in the Current Working Directory, or in any
              folder along your PATH.
              If curl is built against the NSS SSL library  then  this  option
              tells  curl the nickname of the CA certificate to use within the
              NSS database defined by the environment variable SSL_DIR (or  by
              default  /etc/pki/nssdb).   If  the NSS PEM PKCS#11 module (lib‐
              nsspem.so) is available then PEM files may be loaded.
              If this option is used several times, the last one will be used.
Does this (setting $CURL_CA_BUNDLE) help?
Previous: Josef WolfNext: Josef Wolf
Message 3 of 4 in “How to push to http(s) repository with authentication?”
  1. Josef WolfOct 20, 2008
  2. Josef WolfOct 23, 2008
  3. Alex RiesenOct 23, 2008
  4. Josef WolfOct 23, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.