You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot compile HEVD using .SLN file - Errors with Self Signing Certificate #29
This is due to the .SLN file still using the HEVD.crt file rather than the HEVD.pfx file which is included.
After testing it appears this doesn't affect the .BAT files as they have already been altered to use the HEVD.pfx file, so only the .SLN file is affected. Discussions about this matter revealed that the issue can likely be fixed by altering the .SLN file to use the HEVD.pfx file and then supplying a valid password in the .SLN file so that HEVD.pfx can be opened and utilized by Visual Studio to sign the driver.
Trying to figure out how to specify a password. Changing it to pfx it pops a dialog box to enter password. I have found that tag works. But it's not accepting the password.
I have changed the CRT to PFX in the project file and also provided Password. Visual Studio still says "Invalid certificate or password". I'm trying to debug the issue.
This is coming in pretty late, but to self-sign it, in the properties page for the project,
Set the Configuration to All Configurations, select either x64 or x86/win32 Paltforms(optional)
At the Driver Settings > General, set the Target OS Version as desired (optional)
At the Driver Signing > General, set the Test Certificate option to be blank [remove the HEVD.pfx populated there, leaving it blank]
Apply the changes.
Compiling the solution should be successful now. Tested this for win32/x86 and x64 builds for Windows 7-10 platforms, on Visual Studio 2019
Activity
hacksysteam commentedon Oct 17, 2019
Trying to figure out how to specify a password. Changing it to pfx it pops a dialog box to enter password. I have found that tag works. But it's not accepting the password.
Looking into it currently.
hacksysteam commentedon Oct 18, 2019
I have changed the CRT to PFX in the project file and also provided Password. Visual Studio still says "Invalid certificate or password". I'm trying to debug the issue.
mailler0xa commentedon Jul 3, 2021
This is coming in pretty late, but to self-sign it, in the properties page for the project,
Set the Configuration to All Configurations, select either x64 or x86/win32 Paltforms(optional)
At the Driver Settings > General, set the Target OS Version as desired (optional)
At the Driver Signing > General, set the Test Certificate option to be blank [remove the HEVD.pfx populated there, leaving it blank]
Apply the changes.
Compiling the solution should be successful now. Tested this for win32/x86 and x64 builds for Windows 7-10 platforms, on Visual Studio 2019
reference: https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/signing-a-driver-during-development-and-testing