Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Certificate revocation checks to CLI #22

Open
yschimke opened this issue Jul 26, 2020 · 3 comments
Open

[feature] Certificate revocation checks to CLI #22

yschimke opened this issue Jul 26, 2020 · 3 comments

Comments

@yschimke
Copy link
Collaborator

We can't practically implement in OkHttp, but this is exactly the sort of thing we should flag in the CLI, since browsers will fail these requests.

square/okhttp#2348

@yschimke
Copy link
Collaborator Author

$ cft --output=tmp2 --host=www.google.com
$ openssl x509 -text -in tmp2/5ed6032ce36e0d50b54209a866d56ef8b3a1ea733039c3d016db034f565c1250.pem

        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature
            X509v3 Extended Key Usage:
                TLS Web Server Authentication
            X509v3 Basic Constraints: critical
                CA:FALSE
            X509v3 Subject Key Identifier:
                86:74:39:D9:85:27:15:59:CD:49:A4:76:27:60:A1:48:EB:41:FD:A2
            X509v3 Authority Key Identifier:
                keyid:98:D1:F8:6E:10:EB:CF:9B:EC:60:9F:18:90:1B:A0:EB:7D:09:FD:2B

            Authority Information Access:
                OCSP - URI:http://ocsp.pki.goog/gts1o1core
                CA Issuers - URI:http://pki.goog/gsr2/GTS1O1.crt

            X509v3 Subject Alternative Name:
                DNS:www.google.com
            X509v3 Certificate Policies:
                Policy: 2.23.140.1.2.2
                Policy: 1.3.6.1.4.1.11129.2.5.3

            X509v3 CRL Distribution Points:

                Full Name:
                  URI:http://crl.pki.goog/GTS1O1core.crl

            1.3.6.1.4.1.11129.2.4.2: <- CT extension

@yschimke
Copy link
Collaborator Author

yschimke commented Oct 3, 2020

Playing around with this here #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant