Skip to content

Instantly share code, notes, and snippets.

@arianvp
Created March 19, 2026 10:05
Show Gist options
  • Select an option

  • Save arianvp/cf5ce0cba528acc43904d7987ae90f98 to your computer and use it in GitHub Desktop.

Select an option

Save arianvp/cf5ce0cba528acc43904d7987ae90f98 to your computer and use it in GitHub Desktop.
Definitely HTTP 1.1
~ $ curl -v "$(aws s3 presign s3://nix-cache/nix-cache-info)"
* Host nix-cache.s3.us-east-1.amazonaws.com:443 was resolved.
* IPv6: (none)
* IPv4: 16.182.66.250, 52.216.54.186, 16.182.65.42, 52.217.73.144, 16.15.199.25, 16.15.199.106, 52.217.119.26, 52.217.129.34
* Trying 16.182.66.250:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* SSL Trust Anchors:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / x25519 / RSASSA-PSS
* ALPN: server accepted http/1.1
* Server certificate:
* subject: CN=s3.amazonaws.com
* start date: Nov 18 00:00:00 2025 GMT
* expire date: Nov 6 23:59:59 2026 GMT
* issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M04
* Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* subjectAltName: "nix-cache.s3.us-east-1.amazonaws.com" matches cert's "*.s3.us-east-1.amazonaws.com"
* SSL certificate verified via OpenSSL.
* Established connection to nix-cache.s3.us-east-1.amazonaws.com (16.182.66.250 port 443) from 172.31.255.194 port 35470
* using HTTP/1.x
> GET /nix-cache-info?REDACTED
> Host: nix-cache.s3.us-east-1.amazonaws.com
> User-Agent: curl/8.17.0
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 200 OK
< x-amz-id-2: feilOLpFmPndt8RWalaRzdASehDOqXfGrHEICGJodwolYuiW0AiZG2EarnT/q2Y9W1yVFm6uK+w=
< x-amz-request-id: CW5PYDHMPECTD0W9
< Date: Thu, 19 Mar 2026 10:04:43 GMT
< Last-Modified: Fri, 03 Sep 2021 14:43:34 GMT
< ETag: "69d68de32bd6e6f0751e4cd5ae13e053"
< x-amz-version-id: null
< Accept-Ranges: bytes
< Content-Type: text/x-nix-cache-info
< Content-Length: 51
< Server: AmazonS3
<
StoreDir: /nix/store
WantMassQuery: 1
Priority: 40
* Connection #0 to host nix-cache.s3.us-east-1.amazonaws.com:443 left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment