$ cat .curlrc
proxy socks5h://127.0.0.1:9050
http2
ciphers=PFS




$ curl --verbose --user-agent '' --head https://www.nkrf.net/
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 9050 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 696 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLS1.0 / RSA_AES_128_CBC_SHA1
*        server certificate verification OK
*        server certificate status verification SKIPPED
* SSL: certificate subject name (www.dongposarang.com) does not match
target host name 'www.nkrf.net'
* Closing connection 0
curl: (51) SSL: certificate subject name (www.dongposarang.com) does not
match target host name 'www.nkrf.net'





$ curl --insecure --verbose --user-agent '' --head https://www.nkrf.net/
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 9050 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 696 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLS1.0 / RSA_AES_128_CBC_SHA1
*        server certificate verification SKIPPED
*        server certificate status verification SKIPPED
*        common name: www.dongposarang.com (does not match 'www.nkrf.net')
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: C=KR,OU=Domain Control Validated,CN=www.dongposarang.com
*        start date: Tue, 06 Sep 2016 02:49:33 GMT
*        expire date: Mon, 01 Jan 2018 23:59:59 GMT
*        issuer: C=BE,O=GlobalSign nv-sa,CN=AlphaSSL CA - SHA256 - G2
*        compression: NULL
* ALPN, server did not agree to a protocol
> HEAD / HTTP/1.1
> Host: www.nkrf.net
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
Server: Apache-Coyote/1.1
< Set-Cookie: removed; Path=/; Secure
Set-Cookie: removed; Path=/; Secure
< Content-Type: text/html;charset=utf-8
Content-Type: text/html;charset=utf-8
< Transfer-Encoding: chunked
Transfer-Encoding: chunked
< Date: removed
Date: removed

<
* Connection #0 to host www.nkrf.net left intact

Reply via email to