github / github/codeql

Error downloading/installing codeql cpp-queries package

Đang mở
#14,492 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.