Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. michal@laptop:~$ curl -vvvv -d -k --cacert ./ca.crt --cert ./DigitalVirgo.crt --key ./DigitalVirgo.key https://oapi.play.pl/api/payments/
  2. * Trying 89.108.195.69...
  3. * Connected to oapi.play.pl (89.108.195.69) port 443 (#0)
  4. * found 1 certificates in ./ca.crt
  5. * found 704 certificates in /etc/ssl/certs
  6. * ALPN, offering http/1.1
  7. * SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
  8. * server certificate verification OK
  9. * server certificate status verification SKIPPED
  10. * common name: oapi.play.pl (matched)
  11. * server certificate expiration date OK
  12. * server certificate activation date OK
  13. * certificate public key: RSA
  14. * certificate version: #3
  15. * subject: C=PL,ST=Poland,O=P4,OU=OAPI,CN=oapi.play.pl
  16. * start date: Thu, 12 Nov 2015 12:09:49 GMT
  17. * expire date: Sat, 11 Nov 2017 12:09:49 GMT
  18. * issuer: C=PL,ST=Poland,L=Warsaw,O=P4,OU=OAPI,CN=OAPI-CA
  19. * compression: NULL
  20. * ALPN, server did not agree to a protocol
  21. > POST /api/payments/ HTTP/1.1
  22. > Host: oapi.play.pl
  23. > User-Agent: curl/7.47.0
  24. > Accept: */*
  25. > Content-Length: 2
  26. > Content-Type: application/x-www-form-urlencoded
  27. >
  28. * upload completely sent off: 2 out of 2 bytes
  29. < HTTP/1.1 401 Unauthorized
  30. < Date: Fri, 01 Jul 2016 11:38:57 GMT
  31. < Server: Apache/2.4.6 (CentOS) Phusion_Passenger/5.0.21
  32. < Cache-Control: no-cache
  33. < X-Runtime: 0.007547
  34. < X-Frame-Options: SAMEORIGIN
  35. < X-XSS-Protection: 1; mode=block
  36. < X-Content-Type-Options: nosniff
  37. < X-Request-Id: ff705423-3369-4a20-b244-f7d2d2bd7d0d
  38. < X-Powered-By: Phusion Passenger 5.0.21
  39. < Vary: X-Oapi-Auth
  40. < Status: 401 Unauthorized
  41. < Content-Type: application/json; charset=utf-8
  42. < Set-Cookie: request_method=POST; path=/
  43. < Connection: close
  44. < Transfer-Encoding: chunked
  45. <
  46. * Closing connection 0
  47. {"status":"unauthorized","description":"appkey required"}michal@laptop:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement