ToxaProkopenko

getsert.sh

Nov 7th, 2022
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | Cybersecurity | 0 0
  1. root@pve1:/srv/traefik-api/traefik-repo/traefik-api-client# ./getcert.sh ah.proam.su
  2. [ START ] on 07-11-2022_20-08
  3. Note: Unnecessary use of -X or --request, POST is already inferred.
  4. % Total % Received % Xferd Average Speed Time Time Time Current
  5. Dload Upload Total Spent Left Speed
  6. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 87.225.91.41:443...
  7. * Connected to traefik-api.proam.su (87.225.91.41) port 443 (#0)
  8. * ALPN, offering h2
  9. * ALPN, offering http/1.1
  10. * successfully set certificate verify locations:
  11. * CAfile: /etc/ssl/certs/ca-certificates.crt
  12. * CApath: /etc/ssl/certs
  13. } [5 bytes data]
  14. * TLSv1.3 (OUT), TLS handshake, Client hello (1):
  15. } [512 bytes data]
  16. * TLSv1.3 (IN), TLS handshake, Server hello (2):
  17. { [122 bytes data]
  18. * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
  19. { [15 bytes data]
  20. * TLSv1.3 (IN), TLS handshake, Certificate (11):
  21. { [4295 bytes data]
  22. * TLSv1.3 (IN), TLS handshake, CERT verify (15):
  23. { [520 bytes data]
  24. * TLSv1.3 (IN), TLS handshake, Finished (20):
  25. { [36 bytes data]
  26. * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
  27. } [1 bytes data]
  28. * TLSv1.3 (OUT), TLS handshake, Finished (20):
  29. } [36 bytes data]
  30. * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
  31. * ALPN, server accepted to use h2
  32. * Server certificate:
  33. * subject: CN=traefik-api.proam.su
  34. * start date: Nov 5 07:24:15 2022 GMT
  35. * expire date: Feb 3 07:24:14 2023 GMT
  36. * subjectAltName: host "traefik-api.proam.su" matched cert's "traefik-api.proam.su"
  37. * issuer: C=US; O=Let's Encrypt; CN=R3
  38. * SSL certificate verify ok.
  39. * Using HTTP2, server supports multi-use
  40. * Connection state changed (HTTP/2 confirmed)
  41. * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  42. } [5 bytes data]
  43. * Using Stream ID: 1 (easy handle 0x5642dca752c0)
  44. } [5 bytes data]
  45. > POST /api/v1/certman/getcerts HTTP/2
  46. > Host: traefik-api.proam.su
  47. > user-agent: curl/7.74.0
  48. > accept: */*
  49. > authorization: Bearer 11234ht56756213dfj65234
  50. > content-length: 152
  51. > content-type: multipart/form-data; boundary=------------------------87f52d6a934d9371
  52. >
  53. { [5 bytes data]
  54. * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  55. { [130 bytes data]
  56. * Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
  57. } [5 bytes data]
  58. * We are completely uploaded and fine
  59. { [5 bytes data]
  60. < HTTP/2 422
  61. < cache-control: no-cache, private
  62. < content-type: application/json
  63. < date: Mon, 07 Nov 2022 10:08:44 GMT
  64. < server: Apache/2.4.38 (Debian)
  65. < vary: Authorization
  66. < x-powered-by: PHP/7.4.9
  67. < x-ratelimit-limit: 600
  68. < x-ratelimit-remaining: 599
  69. < content-length: 83
  70. <
  71. { [5 bytes data]
  72. 100 235 100 83 100 152 259 475 --:--:-- --:--:-- --:--:-- 734
  73. * Connection #0 to host traefik-api.proam.su left intact
  74. jq: error (at <stdin>:0): Cannot index string with string "crt"
Advertisement
Add Comment
Please, Sign In to add comment