github / github/codeql

Error downloading/installing codeql cpp-queries package

Offen
#14,492 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

I am trying to setup codeql for windows driver program on local machine,

Followed CodeQL readme for WHCP and Windows-Driver-Developer-Supplemental-Tools, ReadMe and cloned WHCP_22H2 branch. When tried to analyse the database I see below error.

`A fatal error occured: The QL Pack 'codeql/cpp-queries@latest' which is referenced from
C:\codeql-home\codeql\Windows-Driver-Developer-Supplemental-Tools-main\src\suites\windows-driver-mustfix.qls cannot be found.`

In order to resolve this I have cloned the Windows-Driver-Developer-Supplemental-Tools main branch and tried to manually download/install the codeql/cpp-queries package and faced the similar error.

````
C:\codeql-home\codeql>codeql pack install C:\codeql-home\codeql\Windows-Driver-Developer-Supplemental-Tools-main\src
Dependencies resolved. Installing packages...
Install location: C:\Users\shravan\.codeql\packages
A fatal error occured: Could not create access credentials for codeql/cpp-queries.
(eventual cause: SunCertPathBuilderException "unable to find valid certification path to requested target")

C:\codeql-home\codeql>codeql pack download codeql/cpp-queries
Dependencies resolved. Installing packages...
Package Install location: C:\Users\shravan\.codeql\packages
A fatal error occured: Could not create access credentials for codeql/cpp-queries.
(eventual cause: SunCertPathBuilderException "unable to find valid certification path to requested target")
````

Please help me resolve this issue.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.