VirtualBox

Changes between Version 37 and Version 38 of Windows build instructions


Ignore:
Timestamp:
Apr 22, 2013 11:31:40 AM (11 years ago)
Author:
Klaus Espenlaub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Windows build instructions

    v37 v38  
    4545 http://www.openssl.org/related/binaries.html
    4646
     47 * '''code signing utilities''' (64-bit Windows only). [[BR]]
     48 Normally part of the WDK: `certmgr.exe`, `makecert.exe`, `signtool.exe` and so on.
     49
    4750 * Optional: '''Java SE 6 JDK''', only needed if you want to build Java API bindings, both webservice and XPCOM. Grab the binaries from: [[BR]]
    4851 http://www.oracle.com/technetwork/java/javase/downloads/index.html
     
    7174}}}
    7275
     76=== Only for 64 bit builds: setting up self signing ===
     77
     78Part 1: creating and installing the test certificate
     79 1. Launch an elevated command line shell (Vista and later).
     80 1. {{{makecert.exe -r -pe -ss my -n "CN=MyTestCertificate" mytestcert.cer}}}
     81 1. {{{certmgr.exe -add mytestcert.cer -s -r localMachine root}}}
     82 1. Start certmgr.exe and check that "!MyTestCertificate" is listed both under "Personal" and "Trusted Root Certification Authorities".
     83 1. Keep the mytestcert.cer file in a safe place.
     84
     85Part 2: configuring the system to run test signed code (Vista and later)
     86 1. Launch an elevated command line shell (Vista and later).
     87 1. Run {{{Bcdedit.exe -set TESTSIGNING ON}}} on an elevated cmd.exe prompt.
     88 1. {{{certmgr.exe -add mytestcert.cer -s -r localMachine root}}}
     89 1. {{{certmgr.exe -add mytestcert.cer -s -r localMachine trustedpublisher}}}
     90 1. Reboot.
     91 1. Vista: "Test Mode" will appear in all four corners of the desktop and "Microsoft (R) Windows (R) (Build 6000)" will appear on the top. Windows 7: "Test Mode<CR>Windows 7<CR>Build 7600" will appear in the lower right corner.
     92
     93Part 3: building !VirtualBox with signing enabled
     94 1. If you called the certificate something other than !MyTestCertificate you'll have make the appropriate overrides in {{{LocalConfig.kmk}}}. See the {{{Code Signing}}} section of Config.kmk for what can be overridden.
     95 1. Add {{{VBOX_SIGNING_MODE=test}}} to {{{LocalConfig.kmk}}}.
     96 1. Build (incremental is sufficient).
    7397
    7498== Running !VirtualBox ==

© 2023 Oracle
ContactPrivacy policyTerms of Use