Certificate for a Windows Store application
So that an WinRT application can be internally distributed via Intune I need to attach a certificate as per
http://msdn.microsoft.com/en-us/library/windows/apps/br230260(v=vs.110).aspx
I go to the package.appxmanifest screen, click choose certificate - > configure certificate - > select from file. I double click on the relevant certificate, and type the password. I then get the error message "The Manifest Designer could not
import the certificate. The certificate you selected is not valid for signing because it is either expired or has another issue. For more information see http:/go.microsoft.com/fwlink/?linkId = 241478", which is the same page I linked to earlier.
Alternately, I import the certificate to my local store, the on the package.appxmanifest click choose certificate - > configure certificate - > pick from certificate store. I then get the error message "No certificate available. No certificates
meet the application criteria. Click OK to continue".
How can I resolve this?
It turns out that it's really fussy about certificate Usages as specified in Enhanced Key Usage, as per the link I posted earlier.
During packaging, Visual Studio validates the specified certificate in the following ways:
Verifies the presence of the Basic Constraints extension and its value, which must be either Subject Type=End Entity or unspecified.
Verifies the value of the Enhanced Key Usage property, which must contain Code Signing and may also contain Lifetime Signing. Any other EKUs are prohibited.
Verifies the value of the KeyUsage (KU) property, which must be either Unset or DigitalSignature.
Verifies the existence of a private key exists.
Verifies whether the certificate is active, hasn’t expired, and hasn't been revoked.
I had mistakenly though that by going to Certificate Properties - Certificate Purposes - Enable only the following properties and
unchecking properties that were invalid for this purpose (i.e. everything but Code Signing) I could use a certificate that we already had. That doesn't work.
I resolved my problem by acquiring a certificate that did only have Code Signing as an Enhanced Key Usage.
Similar Messages
-
What is the alternative for DisplayMemberPath="Value" for Windows Store applications?
I think there is a bug with Windows Store Applications when it comes to using DisplayMemberPath="Value".
Here is my code
<ComboBox Height="40" VerticalAlignment="Stretch" SelectedValuePath="Key" DisplayMemberPath="Value" x:Name="comboBox1" FontSize="25"/>
var source = new Dictionary<string, double>();
source.Add("Item1", 0.4);
source.Add("Item2", 0.3);
source.Add("Item3", 0.1);
source.Add("Item4", 0.1);
var formateDSource = new Dictionary<string, string>();
foreach (var item in source)
formateDSource.Add(string.Format("[{0}, {1}]", item.Key, item.Value), item.Key);
comboBox1.ItemsSource = source;
If you use this code in WPF in works perfectly. However if you use this code in a Windows Store Application then the Combo Box is empty and an error is thrown. So is there an alternative way to do this in Windows Store Applications and have I unearthed a
bug? Because I have researched the Web for days and found no solution to this.*please do not comment unless you have tried my code as a Windows Store App not a WPF in Visual Studios. Can Someone post an example based on my code that works in Windows Store
Apps please because this is terrible.
ThanksIt looks like you got an answer on SO:
http://stackoverflow.com/questions/29817124/what-is-the-alternative-for-displaymemberpath-value-for-windows-store-applicat
This does look like a bug.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
Installation of any Windows Store Application.
Can I install some Windows Store Applications to the
optional directories and or drive.Unfortunately, no. You can define a different path to install Store Applications to, but they all have to go to that location. You cannot have some in one directory, and some in another.
To change the default path, you'll need to head into your registry and change a key - see the screenshot below for more info:
Keep in mind: if you change the path, and you already have some apps installed, you will no longer be able to update them. This is because they'll exist in the old path - not the new one. To prevent this, you'll need to uninstall all apps
(built-in as well as apps you've installed), then change the path. See
this link for more information.
Hope that helps! -
Migrating a legacy VC6 application to Windows Store application
Hi,
I have a legacy VC6 application. It is developed purely in C++ and MFC.
I need to run this on Windows RT tablet.What should I do?
Is it possible to migrate the old application to Windows Store application?
Also, what are the system specifications and tools required to develop the Windows Store application?You will have to rewrite at least the UI portion of your application. Further changes depend on what system functionality you are using. The more of your code is dealing with system calls the more changes will be necessary.
So basically you will likely be able to reuse parts of the code implementing your business logic but everything dealing with file accesses or presentation will likely need to be reworked. There is no automated process to transform Applications from targeting
Win32/MFC to WinRT.
As development tool I would suggest to use Visual Studio 2013 running on Windows 8.1. -
I have a $100 gift certificate for the app store. Can I use this credit to buy an apple TV?
No...
"You can use your Back to School Gift Card to download apps, music, books, and more from the Mac App Store, the iTunes Store, the iBookstore, and the App Store."
From here > http://store.apple.com/us/browse/campaigns/back_to_school
Not the Apple online store for products such as an Apple TV. -
Setting Cursor - For a window and application wide
Hi,
Can somebody please help with a cursor problem ? I am not able to set the busy cursor for a frame when the application is doing some work. I have tried many methods of doing this (some of them from these forums...) but still I am not able to make this work.
1) setting the cursor before doing the work and resetting after the
work doesnt work.
2) setting the cursor for the window by calling
Window window = SwingUtilities.windowForComponent(getRootPane().getGlassPane());
window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
This works but the events are not blocked by the frame i.e if i
click on any part of the window like a button or something, that
event is fired after the work is done. So this is not good.
3) created a glass pane for the window and blocked all the events. Then
set the cursor for the the glass pane. This does not work either
since the event thread is doing the work. So had to create another
thread to do the work. This works but when the cursor is reset back,
it doesnt reset. I have to move the mouse a bit to reset it. So this
is not good either.
4) created a work around for the cursor by creating a modal dialog box
saying "Processing..." in the event thread and doing the work in the
worker thread. The worker thread posts an event to dispose the
dialog box after the work is done. This works perfectly though it is
still not good because the cursor is not showing busy. Because of
the modal dialog box, the user cant do anything in the application
which is exactly what i want. Is this ok ? Can somebody provide any
other work around for this ?
5) Also I have another question for you guys. In the worker thread if i
do something like updating the gui etc., it takes a lot of time
almost 10 times more than when the work is done in a single threaded
environment. Is this because of the communication between the worker
thread and the event thread ? If I do only data related work not gui
work in the worker thread, this is fine.
I am new to Swing, so somebody please explain to me if they can.
My environment is JDK 1.1.7, Swing 1.1 on Sun Solaris 2.5.1. Is this because I am using old versions. Is this resolved in the newer versions like 1.3 etc ?
-Vijaymoetunes wrote:I thought a
chmod u+rw /path/to/.conf
chmod go-rw /path/to/.conf
would set the file to be read only by the user that owns it.
That is all true. The problem is the need to give a user the ability to run a program that has secrets that should only be visible by root. If you give the user ownership, they cab see the keys to the kingdom.
For example, you may want to allow a user to connect to an arbitrary wireless access point. Generally, this is a privileged operation -- you want to give them permission to do it, but don't want to give them ownership. You may also not want them to be able to see or modify the pass phrases. -
We have created the account for windows store app. How can I find out if the account was approved (the identity of the company)?
Hi,
There is one more method,i know
Set the JAVA_HOME and PATH
then execute the
$WL_HOME\wlserver_10.3\server\bin>setWLSEnv.cmd
Go to directory which contains weblogic.jar ($WL_HOME\server\lib) and run below command
$WL_HOME\wlserver_10.3\server\lib>java -cp weblogic.jar weblogic.version
WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255
Hope this will be helpful,
Regards
Fabian -
Migrate certificate for native installer packaged application
Hi,
I need to migrate certificate (to new certificate) for my air app, which is a native installer packaged application. The certification migration steps in the docs mention migrating/ signing the .air app with old and new certificate.
But it doesn't mention anything about the natively packaged air app (the .exe)
How to migrate / sign certificates for native installer ?
Thanks,
BrijeshAIR run time :2.0.3.13070
Yes,I am using the old certificate for migration. However I noticed I was getting following error while migrating.
a) first I got the "Could not create time stamp: timestamp.geotrust.com" exception. I am completely unsure why this error. I didn't use timestamp while generating the old version of the app using the old certificate few days back (before old certificate expired).
b) then I tried to migrate using -tsa none option so that it could migrate to new air.
If this is causing the problem, I need to figure out why I get the timestamp error mentioned in (a)
Thanks,
Brijesh -
Email gift certificate for different iTunes store?
Hi,
I wish to give an email gift certificate for a friend in Japan. But my iTunes store account is in US. Can I purchase the gift certificate from a US iTunes store for my friend to use on a Japanese iTunes store? If not, what is the best way to give a gift across the border?
Please advise. Thanks in advance.
YitpingBuy one directly from an Apple Retailer or Reseller Store;
The card needs to be purchased in the country it is for. Can't purchase a gift card from Apple in the US and use it in a different country's store.
Same as eBay (which I wouldn't recommend). The card needs to be originally from teh country it is to be used in. -
when i am trying to connect windows store it says that we are unable to connect to store due to server problem or the network connection timeout please try after few minutes every time only this message is shown and i am unable to connect the windows store
Hi,
Firstly, please download the fix it tool below for test.
http://download.microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab
Secondly, as according to the error message, this problem is more related with network problem. Please check if your current network enable any proxy, if so, it may proxy server problem.
Thirdly, if your system installed any security software, please try to disable them temporarilly for test.
Roger Lu
TechNet Community Support -
Hi and Help,
I'm in the process of upgrading my VS2008.Standard Windows Forms apps to VS2013.Pro. My concern is I've got the VS2008 apps scattered in folders all over my disc; this includes the VS2008 published apps.
All of the converted apps are being stored in one folder,
VB13_AppSource, in their own sub-folders. (I don't know if it makes any difference here, but all of these apps, except one which is a Sudoku screen app, use SQL2005.Express. After I've made all the conversions, I'll upgrade SQL
to the latest Express available down the road in several months. Included will be an upgrade from my current SSMS to the latest SQL Server Management Studio. )
What I'd like from you are recommendations and document locations on how to store VS2013 apps on my C drive. Please note that I'm using Net 4.5.1. Some of my thoughts are:
Source folder for all applications
Folder for all published apps
Folder for Class Library(s?)
Folder for Active SQL Databases
Folder for Test SQL Databases
Thanks for your help,
Terry 01Hi Terry01,
Thanks for your reply.
Based on your issue, I suggest you can refer the Jack's suggestion to check your issue from the follwoing
thread.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/3d128a21-f3b5-430e-b146-60eea577194f/converting-vs-2005-project-to-vs-2013?forum=visualstudiogeneral
In addition, I find some msdn document about how to upgrade the project to VS2013, you can refer it.
https://msdn.microsoft.com/en-us/library/hh690665.aspx
https://msdn.microsoft.com/en-us/library/ms185327.aspx
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hello,
At present my SharePoint farm is having following domains:
1) Internal Domain - Domain1
2) External Trusted Domain - Domain2
And Following Intranet WebApplications having Windows Mode Authentication:
1) http://mywebapp1.Domain1.com - Single site collection
2) http://mywebapp2.Domain1.com - Multiple site collections
3) http://mywebapp3.Domain1.com - Multiple site collections
Both Domain1 and Domain2 users are able to access above web applications.
Now , we have requirement to add other trusted domains Domain3 , Domain4...etc. and create Extranet Application and I have following questions :
What kind of topology and Authentication is required ?
AD as User Identity storage location is better way for all other domains since there is trust ?
Do I need to just extend all the web applications in extra net zone and create site collection for different domains to isolate security and content as per the need ?
Is there any other best solution to implement extranet application under current environment ?
what kind of other factors are important to consider in order to create extranet application ?
Your help will be highly appreciated.
Thanks and Kind Regards,
Dipti ChhatrapatiHi Tom,
I have following information till now:
External domain will be trusted with parent domain where SharePoint is installed.
Authentication of external domain will be Windows Authentication.
User Identity storage location will be Active Directory of external domain.
Site to be accessed by external domain will be http://mywebapp1.Domain1.com
Now question is :
Should I assign external AD group ( Domain2ADGroups ) to SP Web Application http://mywebapp1.Domain1.com
OR
Should I extend the application in extranet zone for external domain and then assign permission to extended
application ?
I guess , if authentication is same then no need to extend the application - correct ?
Thank you to look at this thread !
Dipti Chhatrapati -
Certificates for use with APEX applications
I'm running oracle enterprise edition 9.2.0.7 with HTTP server for my APEX applications. When users access my application via https://, they receive the default oracle certificate warning. Can I use the wallet manager (owm) to create my own or to create a trusted certificate, or do you need to purchase Advanced Security option to use it "legally"?
hey guys the above issue was resolved. now i have following error.
1- anyconnect popup with WARNING MESSAGE: Warning: "The following Certificate received from the Server could not be verified: "
2- on asa i can see following debug messages.
CRYPTO_PKI: Sorted chain size is: 1
CRYPTO_PKI: Found ID cert. serial number: 02, subject name: cn=admin
CRYPTO_PKI: Verifying certificate with serial number: 02, subject name: cn=admin, issuer_name: cn=ciscoasa, signature alg: SHA1/RSA.
CRYPTO_PKI(Cert Lookup) issuer="cn=ciscoasa" serial number=02 | .
CRYPTO_PKI: Invalid cert.
do let me know why is this happening. i have installed both CA and Indetity certificates on cisco asa 8.4.
my client OS is Win7. -
Creating multiplayer Windows Store application.
Hi!
I create mutliplayer game for "big and small" Windows and decided to use socket thought TCP to transfer data in my application. My problem is in creating server, that can be found by the other clients. How can I do it?Hi MiXenXd,
The DatagramSocket itself is a UDP datagram socket.
StreamSocket class is over TCP socket, see
How to connect with a stream socket for more information.
As you can see in the DatagramSocket methods, it can bind to a local service as a listener but streamSocket cannot do the same thing, perhaps we should discover the game server by UDP and talk to it by TCP
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Can you use a APPLE gift certificate for iTunes music store?
I know that you can use an iTunes gift card but can you also use an Apple gift card?
There's a difference between an iTunes gift certificate and an iTunes gift card. The Apple Gift Card FAQ specifically says:
"Can I use the Apple Gift Card to purchase an iTunes Music Store Gift Card? What about an iTunes Music Store electronic gift certificate?"
"Apple Gift Cards can be used to purchase an iTunes Music Store Gift Card. However, Apple Gift Cards can't be used to purchase iTunes Music Store electronic gift certificates."
Maybe you are looking for
-
Need help importing animated gif by ImageIcon in Japplet
Hello. Im new to Java, but I want to import this animated gif with Java in a Japplet using ImageIcon, but it does not work and I would really appreciate if anyone could help me with this. import java.applet.*; impor
-
How to check whether the Resultset is empty or not ??
I wanna check whether my Result set is empty or not ( I don't want the no of rows it contains..) i'm using this function... boolean result=myResultSet.isAfterLast() | myResultSet.isBeforeFirst() ; if (result == true) {//Result Set is populated else {
-
My computer crashed and I had to restore all music on hardrive from the ipod. That was successful. Now everytime I plug in my ipod it updates all 1000 songs from itunes. When I checked "update only checked songs" it updates those songs, but all of th
-
What may cause jitter in a graph?
A simple VI to convert a string into a dot matrix text display (XY graph) worked fine initially. After seemingly minor cleanup in the block diagram, the text jitters back and forth during updates (see attached vi). A subtle error is suspected. Help
-
I tried SecUpd2012-004.dmg which does not help. If anyone has a solution, much appreciated.