Giter Site home page Giter Site logo

the goproxy work wrong about goproxy HOT 8 CLOSED

goproxyio avatar goproxyio commented on May 20, 2024
the goproxy work wrong

from goproxy.

Comments (8)

oiooj avatar oiooj commented on May 20, 2024

@shanyujie It seems that you got a Man-in-the-MiddleAttack.

image

The cert is valid now.

from goproxy.

LanceAdd avatar LanceAdd commented on May 20, 2024

Thank you for your reply。Do you know how to solve this problem?
I'm very upset.I can't find a solution.I can only use goproxy. cn now.But it's too slow.

from goproxy.

oiooj avatar oiooj commented on May 20, 2024

@shanyujie 检查下你报错机器的时间是否正确,如果不正确,同步下时间再试试。

你能执行下下面的命令,把结果贴出来么,我看下证书是对的么?

echo | openssl s_client -showcerts -servername g -connect goproxy.io:443 2>/dev/null | openssl x509 -inform pem -noout -text

from goproxy.

LanceAdd avatar LanceAdd commented on May 20, 2024
$ echo | openssl s_client -showcerts -servername g -connect goproxy.io:443 2>/dev/null | openssl x509 -inform pem -noout -text

Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number: 13475652372996557386 (0xbb03226fa91c0a4a)
    Signature Algorithm: sha1WithRSAEncryption
        Issuer: C=CN, ST=BJ, L=BJ, O=Default Company Ltd
        Validity
            Not Before: Jun 15 10:59:49 2018 GMT
            Not After : Jun 16 10:59:49 2019 GMT
        Subject: C=CN, ST=BJ, L=BJ, O=Default Company Ltd
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (1024 bit)
                Modulus:
                    00:a2:7d:88:5f:e0:3c:d0:ba:1f:c5:d9:81:31:f5:
                    c2:bf:59:74:5e:cd:6e:9d:52:bf:b4:5c:f1:5a:59:
                    a8:ec:8f:1d:01:f5:a4:66:86:a9:d3:9d:26:9d:b9:
                    d4:c3:bf:39:8c:a3:07:43:00:75:d3:34:1e:06:33:
                    04:ef:2b:46:ad:15:93:99:3c:0c:22:a1:e5:a9:08:
                    ce:18:c2:bc:71:d0:8f:8a:20:69:6a:ed:86:53:b4:
                    d1:fd:be:a2:3f:a0:3e:74:32:82:ea:40:a6:de:d9:
                    91:d9:bf:23:37:fa:5b:7c:c3:fc:2c:b9:38:76:37:
                    53:0d:42:a9:bb:4e:5b:a9:e3
                Exponent: 65537 (0x10001)
    Signature Algorithm: sha1WithRSAEncryption
         97:f3:97:ae:c9:18:37:1b:55:61:b6:12:fe:3f:65:84:59:cf:
         e5:eb:f3:cf:4a:a5:9f:fb:a2:2f:3f:71:da:b2:27:fd:b0:7f:
         f2:8a:7f:28:e0:ac:77:ee:84:c5:e7:47:89:47:47:7a:a1:21:
         5d:49:32:e3:a3:f8:53:0a:5b:aa:71:64:c6:39:21:4c:95:3a:
         7b:d1:57:6b:72:31:c2:5b:01:02:04:a6:cb:e7:8a:61:7c:49:
         6e:36:eb:74:ed:af:52:17:d7:0b:a8:88:b9:ac:a3:92:5c:ac:
         7f:7f:94:88:fd:a3:64:ab:61:77:05:a4:50:b5:8f:84:d3:6f:
         74:e1

谢谢大佬帮忙,这是结果
我是mac os 10.13.6
go version go1.12.7 darwin/amd64

from goproxy.

oiooj avatar oiooj commented on May 20, 2024

证书确实被人劫持了,你这个不是被信任的证书,有人想窥探隐私吧,正确的证书应该是

Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            4b:a1:7a:07:16:43:3c:e5:83:fc:4e:ee:5c:e9:c6:df
    Signature Algorithm: sha256WithRSAEncryption
        Issuer: C=GB, ST=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA
        Validity
            Not Before: Jul 15 00:00:00 2019 GMT
            Not After : Jul 14 23:59:59 2021 GMT
        Subject: OU=Domain Control Validated, OU=PositiveSSL, CN=gomirrors.org
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:

我这边能做的非常有限,你这是本地的劫持。

或者说如果你是在公司的话,可能是公司强制做的,原因你应该明白。

from goproxy.

prologic avatar prologic commented on May 20, 2024

from goproxy.

LanceAdd avatar LanceAdd commented on May 20, 2024

感谢你的帮助,我去问问其他人,goproxy.io真的很棒

from goproxy.

oiooj avatar oiooj commented on May 20, 2024

@shanyujie It's very happy that we can help you.

from goproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.