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

API v2 "getEndpointData" returns server certificate information but v3 and v4 do not #947

Open
brocksterr opened this issue Nov 7, 2023 · 2 comments

Comments

@brocksterr
Copy link

I'm updating my scripts to v4. My scripts are using a combination of v3 and v2. I'm using v2 for the "getEndpointData" API call which provides cert info referenced in ssllabs-api-docs-v4.md where as v3 and v4 do not return this information. I'm assuming v4 should return it since it is in the v4 API docs.

I attached getEndpointData results for both v2 and v4. The cert info below is present in v2 but not v4. Is this expected for v4 or should it be providing cert info?

	"cert": {
		"subject": "CN=www.google.com",
		"commonNames": [
			"www.google.com"
		],
		"altNames": [
			"www.google.com"
		],
		"notBefore": 1697443846000,
		"notAfter": 1704701445000,
		"issuerSubject": "CN=GTS CA 1C3, O=Google Trust Services LLC, C=US",
		"issuerLabel": "GTS CA 1C3",
		"sigAlg": "SHA256withRSA",
		"revocationInfo": 3,
		"crlURIs": [
			"http://crls.pki.goog/gts1c3/QqFxbi9M48c.crl"
		],
		"ocspURIs": [
			"http://ocsp.pki.goog/gts1c3"
		],
		"revocationStatus": 2,
		"crlRevocationStatus": 2,
		"ocspRevocationStatus": 2,
		"sgc": 0,
		"issues": 0,
		"sct": true,
		"mustStaple": 0,
		"sha1Hash": "f5ccdab5ba1e141444cc279092cc601f5f08af77",
		"pinSha256": "z4Jph2XV42qL67EQob0LrlxeQvmLAXvqC8QroA397HU="
	}
@averom
Copy link

averom commented Jan 16, 2024

Any updates on this issue?
I am experiencing the same issue during the update from v2 to v4 version.

@pixelpaulaus
Copy link

any update on this? as it would be great if all the endpoint data was returned on the endpoint API request, instead of doing the full analyze request

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

3 participants