Repository navigation
Conversation
…s security/tls-certificate failing, with the cause; TLS runtime error names classified #1259 Signed-off-by: Nik Cubrilovic <[email protected]>
… certificate problem, from the cause probe, with the real issue shape, honouring rule selection #1259 Signed-off-by: Nik Cubrilovic <[email protected]>
Merged
Contributor
Author
|
Landed in v0.0.147 as nik |
10 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1259 (PR 1 of 2: the start-URL report; the key and certificate options are #1402)
unreachable(exit 5, no score), but the report in the format asked for carries asecurity/tls-certificatefailure with the cause.issuesentry in JSON (the real report shape:ruleId,name,description,solution,category,group,severity, and a check withaffectedPages,affectedPagesCount,affectedPagesHasMore,legacyValue),<finding>in xml and llm, a line in text.certificate has expired on <date>,the certificate does not cover <host>, self-signed, a chain that does not verify; a short RSA key is named beside it.unreachablewith no certificate claim (tested with a plain-HTTP port).--rule-exclude,[rules] disableand[rule_options] enabled = falsesuppress it (tested); the run still endsunreachable.pageUrlcaveat documented: the URL is the start URL; when it redirected, the certificate problem may be on the host it redirected to.ERR_TLS_CERT_ALTNAME_INVALID,unable to get local issuer certificateand the cause sentences for a chain that does not verify were reason codeunknown; they aretlsnow. The private failure classification lacks them (the lead files the private follow-up).nik