We have LDAP authentication, so I'm using LDAP user and password. Here what I get with verbose option:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to gerrit port 8443 (#0)
* Trying XX.XX.XX.XX...
* Connected to gerrit (XX.XX.XX.XX) port 8443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA
* Server certificate:
* subject: CN=*. ...
* start date: Jun 13 00:00:00 2016 GMT
* expire date: May 10 23:59:59 2018 GMT
* common name: *. ...
* issuer: CN=thawte SHA256 SSL CA,O="thawte, Inc.",C=US
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Server auth using Basic with user 'user'
> GET /gitweb?p=training/course.git;a=snapshot;h=9c1e2f9a8df8fa14e4db148437444ed4de00e2a2;sf=tgz HTTP/1.1
> Authorization: Basic YnVpbGQ6YnVpbGQ=
> User-Agent: curl/7.29.0
> Host: gerrit:8443
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Mon, 25 Jul 2016 14:16:50 GMT
< Content-Length: 0
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host gerrit left intact