Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@pve1:/srv/traefik-api/traefik-repo/traefik-api-client# ./getcert.sh ah.proam.su
- [ START ] on 07-11-2022_20-08
- Note: Unnecessary use of -X or --request, POST is already inferred.
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 87.225.91.41:443...
- * Connected to traefik-api.proam.su (87.225.91.41) port 443 (#0)
- * ALPN, offering h2
- * ALPN, offering http/1.1
- * successfully set certificate verify locations:
- * CAfile: /etc/ssl/certs/ca-certificates.crt
- * CApath: /etc/ssl/certs
- } [5 bytes data]
- * TLSv1.3 (OUT), TLS handshake, Client hello (1):
- } [512 bytes data]
- * TLSv1.3 (IN), TLS handshake, Server hello (2):
- { [122 bytes data]
- * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
- { [15 bytes data]
- * TLSv1.3 (IN), TLS handshake, Certificate (11):
- { [4295 bytes data]
- * TLSv1.3 (IN), TLS handshake, CERT verify (15):
- { [520 bytes data]
- * TLSv1.3 (IN), TLS handshake, Finished (20):
- { [36 bytes data]
- * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
- } [1 bytes data]
- * TLSv1.3 (OUT), TLS handshake, Finished (20):
- } [36 bytes data]
- * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
- * ALPN, server accepted to use h2
- * Server certificate:
- * subject: CN=traefik-api.proam.su
- * start date: Nov 5 07:24:15 2022 GMT
- * expire date: Feb 3 07:24:14 2023 GMT
- * subjectAltName: host "traefik-api.proam.su" matched cert's "traefik-api.proam.su"
- * issuer: C=US; O=Let's Encrypt; CN=R3
- * SSL certificate verify ok.
- * Using HTTP2, server supports multi-use
- * Connection state changed (HTTP/2 confirmed)
- * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
- } [5 bytes data]
- * Using Stream ID: 1 (easy handle 0x5642dca752c0)
- } [5 bytes data]
- > POST /api/v1/certman/getcerts HTTP/2
- > Host: traefik-api.proam.su
- > user-agent: curl/7.74.0
- > accept: */*
- > authorization: Bearer 11234ht56756213dfj65234
- > content-length: 152
- > content-type: multipart/form-data; boundary=------------------------87f52d6a934d9371
- >
- { [5 bytes data]
- * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- { [130 bytes data]
- * Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
- } [5 bytes data]
- * We are completely uploaded and fine
- { [5 bytes data]
- < HTTP/2 422
- < cache-control: no-cache, private
- < content-type: application/json
- < date: Mon, 07 Nov 2022 10:08:44 GMT
- < server: Apache/2.4.38 (Debian)
- < vary: Authorization
- < x-powered-by: PHP/7.4.9
- < x-ratelimit-limit: 600
- < x-ratelimit-remaining: 599
- < content-length: 83
- <
- { [5 bytes data]
- 100 235 100 83 100 152 259 475 --:--:-- --:--:-- --:--:-- 734
- * Connection #0 to host traefik-api.proam.su left intact
- jq: error (at <stdin>:0): Cannot index string with string "crt"
Advertisement
Add Comment
Please, Sign In to add comment