05-08-2019 05:26 AM
05-08-2019 05:26 AM
We are using self signed certificates for creating MSIX package during POC, but self signed certificate can not be used for enterprise deployments. What has to be the option for signing the certificates in the production environment whether vendor has provide the certificate or client?
05-08-2019 11:24 AM - edited 05-08-2019 11:32 AM
@GauravTamkoria I guess you might need to explain your issue in more detail?
I do not see a problem with an enterprise repackaging a vendor application for MSIX and signing with a self-signed certificate. I have not found a way to effectively use a timestampging service when using self-signed (although perhaps MS could add that to AD Certificate Authority services), so I would advise setting a very long term expiration on the certificate. But if you sign with that, you can use something like Group Policy of Config Manager (or probably Intune) to deploy the certificate.
The certificate must be installed into the local machine certificate store of the computers/VMs that need the apps, and specifically into the root certificate store. Then you are good to go. I would recommend using a single certificate for all of your repackaged apps, and the self-signed cert should be password protected for signing purposes.
Oh, and you have to enable side-loading on the computers/VMs. This too can be done via GPO or SCCM.
Public CA code signing certs are also a possibility, but unless you want to distribute outside of your own organization I don't see the need to go that way.
Perhaps I misunderstand the question and you are a software vendor. In that case if the package is going into the Windows Store you have to use a developer certificate you acquire from Microsoft via your corporate developer account, then use that signed version in your store submission and Microsoft does the rest. If you plan to sign and deliver to customers outside of the Microsoft store, you will want to purchase a paid-for code signing certificate from a reputable CA. (note: Personally I don't think you need the EV level, but that's for you to decide). The key is that your self-signed cert used for the initial testing must have the same subject field ("CN=xxx") that your public cert uses and is in the AppxManifest.xml file Publisher field. Double signing this way is OK.