Giter Site home page Giter Site logo

microsoft / diceweb Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 17.0 7.05 MB

Sample apps, games and other content for use in testing the Microsoft Partner Center.

License: MIT License

C++ 46.51% C 0.98% C# 0.08% PowerShell 0.10% HLSL 0.94% Batchfile 0.08% POV-Ray SDL 1.89% Pawn 47.99% Assembly 0.74% Pascal 0.64% PHP 0.05%
microsoft-partner-center appxpackages uwp bridge-app addon

diceweb's Issues

Certificate Error Occurs When Associating Desktop Application With Microsoft Partner Center

Definition Of The Problem

I have the components specified in the document for testing applications:

  • Microsoft Visual Studio Community 2019 (Version 16.8.4)
  • Windows 10 SDK (Version 2004 - 10.0.19041.0) - SignTool.exe
  • Microsoft Partner Center Account (Individual Account)

However, I'm having a certificate problem while associating the application with Microsoft Partner Center via Visual Studio IDE.

Steps Followed

The steps I follow in associating the desktop application with the Microsoft Partner Center are as follows:

  • Cloning of the project from the remote repository.
  • The opening of the project solution (DiceWebSampleApps_vs2019.sln) in Visual Studio IDE.
  • Downloading the signable file (SignableFile.bin) from the Microsoft Partner Center.
  • Calling SignTool.exe from the command line to sign the file. Since SignTool.exe takes a PFX file as an argument, I used the certificate generation tool on the Visual Studio IDE. I copied the PFX file to the directory where the SignTool.exe tool will be run.

(1) I opened a certificate selection window on Visual Studio IDE.

Image 1: Visual Studio IDE Certificate Selection Window

(2) I clicked the "Create" button to create a new certificate.

Image 2: Create New Certificate

(3) I created a new certificate. I uploaded the certificate (*.pfx file) created in the current directory.

Image 3: Choose A New Certificate

(4) I chose the new certificate created.

Image 4: Viewing The New Certificate
  • I called the SignTool.exe tool from the command line to mark the SignableFile.bin file. When I ran the command I thought everything was fine.
.\signtool.exe sign /f .\<company_name>.pfx /p <password> /v .\SignableFile.bin

Image 5: Marking The SignableFile.bin File
  • I ran the following command to verify the marked file. The verification command returned the following error:
.\signtool.exe verify /a .\SignableFile.bin

Image 6: Marking The SignableFile.bin File
  • I got the following error when I tried to drag the SignableFile.bin file, which was marked ignoring the verification error, to the Microsoft Partner Center:

Image 7: Error Warning Shown On Microsoft Partner Center

Help Request

I don't know enough about certificate management in Windows 10. Therefore, I tried many methods but couldn't be successful. The SignTool.exe tool and Microsoft Partner Center generated similar errors. I tried using the X.509 key pair, which is short-term and reliable to run. But the Root Certificate Manager gave the same error.

I think this might be because I'm an individual user. What can I do to fix this problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.