[TIMOB-24199] Windows 10: Unable to package app for winstore
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2018-07-26T04:02:36.000+0000 |
Affected Version/s | Release 6.0.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Jebun Naher |
Assignee | Kota Iguchi |
Created | 2016-12-06T11:38:58.000+0000 |
Updated | 2018-07-26T04:02:36.000+0000 |
Description
*Issue description:*
I get following error when I run the CLI command to generate a certificate for winstore:
*[ERROR]* Failed to create certificate (code 4294967295)
*CLI command:* appc run -p windows -T dist-winstore -O dist
*Reproduction:*
- Create an app and run the CLI command to generate a certificate: appc run -p windows -T dist-winstore -O dist
*Actual:* [ERROR] Failed to create certificate (code 4294967295)
*Expected*: Successfully create a certificate.
Attachments
Could you provide output from
appc ti info -p windows -o json
for more environment information?[~kota], Please find the attachment.
[~jnaher] Could you help with following directions to diagnose the issue? Go to
C:\ProgramData\Titanium\mobilesdk\win32\5.5.1.GA\node_modules\windowslib\lib\
and opencerts.js
in your text editor 1. Update LINE 102:to
2. Update LINE 226:
to
3. Then try
appc run -p windows -T dist-winstore -O dist
again, and see what's printed. Thanks in advance!I'm still unable to reproduce this. It looks like certification command is failing for some reason. Could you manually create certification using
makecert
command by following instructions? https://msdn.microsoft.com/en-us/library/bfsktky3(VS.100).aspxmakecert
will be located in following paths: * C:\Program Files (x86)\Windows Kits\8.1\bin\x64 * C:\Program Files (x86)\Windows Kits\10\bin\x64It is the combination of
makecert
andpvk2pfx
. I found that Microsoft provides good documentation about it. * [How to: Create Your Own Test Certificate](https://msdn.microsoft.com/en-us/library/ff699202.aspx) * [How to create an app package signing certificate](https://msdn.microsoft.com/en-us/library/windows/desktop/jj835832(v=vs.85).aspx)Closing this for now because this was not reproducible. Feel free to create new ticket if this is still the case.