Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

Signing drivers in Miscosoft Partner Center - No button "Download signed files"

ksupallksupall Member Posts: 28

Hello everybody!
I'm developing powershell script to automate HLK/HCK signing process. Now I have to do the last thing - to save and sign .hckx/.hlkx file. And upload it to the portal.
I have token with my certificate. (SafeNet one)

I'm doing this:
$ProjectSaveFile = [IO.Path]::ChangeExtension($Project.Name, "hlkx")
$cert = Get-Item Cert:\CurrentUser\My\HF86GJ8HG58DJ7J4K99K9J4GF8DKKD9
$rawData = $cert.GetRawCertData()
$password = new-obect System.Security.SecureString
$password = 'MyPasswordHere'
$certificate = new-object X509Certificate($rawData, $password)
$PackageWriter.Save("C:\AutoHLK\submissions\" + $projectSaveFile, $certificate)

So in the end I really got my file, but when I upload it to the portal and have everything signed I got only two buttons Download initial package and Download certification report.
There's no button "Download signed files"

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 15 November 2021 Live, Online
Writing WDF Drivers 24 January 2022 Live, Online
Developing Minifilters 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online