~# curl -v 'https://lic.miko.ru/protect/v1/ping'
* Trying 54.194.68.101:443...
* Connected to lic.miko.ru (54.194.68.101) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/curl/cacert.pem
* CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: CN=lic.miko.ru
* start date: Mar 4 16:04:24 2022 GMT
* expire date: Apr 5 16:04:23 2023 GMT
* subjectAltName: host "lic.miko.ru" matched cert's "lic.miko.ru"
* issuer: C=BE; O=GlobalSign nv-sa; CN=AlphaSSL CA - SHA256 - G2
* SSL certificate verify ok.
> GET /protect/v1/ping HTTP/1.1
> Host: lic.miko.ru
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Tue, 29 Nov 2022 17:59:14 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Server: nginx/1.20.0
< X-Powered-By: PHP/7.4.21
< RESP_HASH: 8845a4ffb697feafb3bf98f983df2e50
< RESP_TIME: 1669744754
< X-Cached: MISS
<
* Connection #0 to host lic.miko.ru left intact
<response action='ping' status='ok' message='pong' intcode='2000' extcode='0' />