If you’re trying to build application with Cordova today aiming windows platform, you’ll receive an error message about an Expired Certificate:
error APPX0108: The certificate specified has expired
A certificate in the Windows platform template has expired on 11/11/2014 and as a result, building Windows using the Cordova command line currently fails. This affects all existing projects and any new projects created using the command line prior to Cordova versions <= 4.0.0. Note that this does not affect the wp8 platform.
This issue will be fixed in the next release of Cordova
However, to ensure that you can continue building your existing Cordova projects for Windows till then, please replace the expired certificate located at yourCordovaProject\platforms\windows\CordovaApp_TemporaryKey.pfx
with a new one from here. Ensure that the downloaded file is renamed to CordovaApp_TemporaryKey.pfx
For more detail see: http://cordova.apache.org/news/2014/11/11/windows-cert.html
If you’re using Visual Studio, you can place the certificate here:
- CTP1/2 or existing projects on CTP3 : res/cert/windows8/CordovaApp_TemporaryKey.pfx
- CTP3/Dev14: res/native/windows/CordovaApp_TemporaryKey.pfx