Last active
February 9, 2016 07:52
-
-
Save joshcooper/1edc697748460e9fc99f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl -v -G -cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \ | |
-cert /etc/puppetlabs/puppet/ssl/certs/w4s5zf7hg24dll9.delivery.puppetlabs.net.pem \ | |
-key /etc/puppetlabs/puppet/ssl/private_keys/w4s5zf7hg24dll9.delivery.puppetlabs.net.pem \ | |
'https://w4s5zf7hg24dll9:8140/puppet/v3/static_file_content/foo/bar?code_id=foobar&environment=test' | |
* <url> malformed | |
* Closing connection -1 | |
curl: (3) <url> malformed | |
* <url> malformed | |
* Closing connection -1 | |
curl: (3) <url> malformed | |
* <url> malformed | |
* Closing connection -1 | |
curl: (3) <url> malformed | |
* About to connect() to w4s5zf7hg24dll9 port 8140 (#0) | |
* Trying 10.32.112.233... | |
* Connected to w4s5zf7hg24dll9 (10.32.112.233) port 8140 (#0) | |
* Initializing NSS with certpath: sql:/etc/pki/nssdb | |
* skipping SSL peer certificate verification | |
* NSS: client certificate not found (nickname not specified) | |
* SSL connection using TLS_RSA_WITH_AES_128_CBC_SHA | |
* Server certificate: | |
* subject: CN=w4s5zf7hg24dll9.delivery.puppetlabs.net | |
* start date: Feb 08 07:10:38 2016 GMT | |
* expire date: Feb 07 07:10:38 2021 GMT | |
* common name: w4s5zf7hg24dll9.delivery.puppetlabs.net | |
* issuer: CN=Puppet CA: w4s5zf7hg24dll9.delivery.puppetlabs.net | |
> GET /puppet/v3/static_file_content/foo/bar?code_id=foobar&environment=test HTTP/1.1 | |
> User-Agent: curl/7.29.0 | |
> Host: w4s5zf7hg24dll9:8140 | |
> Accept: */* | |
> Referer: y | |
> | |
< HTTP/1.1 400 Bad Request | |
< Date: Tue, 09 Feb 2016 07:50:33 GMT | |
< X-Puppet-Version: 4.3.2 | |
< Content-Length: 89 | |
< Server: Jetty(9.2.z-SNAPSHOT) | |
< | |
* Connection #0 to host w4s5zf7hg24dll9 left intact | |
Error: A /static_file_content request requires an environment, a code-id, and a file-path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment