Browse Source

Minor improvements

master
Josh Mudge 4 years ago
parent
commit
c01b6fe8e9
  1. 8
      All/Sign Using OV Cert.md

8
All/Sign Using OV Cert.md

@ -57,6 +57,8 @@ Be aware that you will likely need to create a Dun & Bradstreet listing to get a
You can purchase a code-signing certificate here: https://cheapsslsecurity.com/comodo/codesigningcertificate.html The validation process will take 1-3 business days if your information is correct and you give them your D-U-N-S (Dun & Bradstreet) number. After you receive an email containing a link to the certificate, follow these directions in the **exact same** browser as the one you used to request the certificate : https://cheapsslsecurity.com/downloads.aspx?ispdf=true&iscs=true&filenm=Comodo_Code_Signing_Collection_Guide.pdf
Put this certificate in the same folder as your `server.exe` file.
### Signing the File
Next, you will need to install Visual Studio. You can download Visual Studio here: https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community
@ -66,12 +68,12 @@ In the install process, you will be greeted with this screen:
![](windowsdev.png)
Choose the "Universal Windows Platform Development" workload. After you have finished installing Visual Studio, open a "Developer Command Prompt for VS".
Choose the "Universal Windows Platform Development" workload. After you have finished installing Visual Studio, open a "Developer Command Prompt for VS". Navigate to the folder your `server.exe` file is in.
![](developerprompt.png)
```
# Sign a file with your certificate.
# Sign a file with your certificate. Replace the code-signing certificate and password values with your own.
SignTool sign /t http://timestamp.comodoca.com /f codesigning.p12 /p <Password> server.exe
```
@ -85,8 +87,6 @@ You should see something like this:
Now we're going to create the setup file that will create the firewall rule we need and "create" the server file for us.
## Firewall Rule
```
# Download the server file.
powershell -Command Invoke-WebRequest -OutFile setup.go https://git.rootprojects.org/josh/code-signing-final/raw/branch/master/All/setup.go

Loading…
Cancel
Save