Why can't product build find my Developer ID Installer certificate - code-signing-certificate

I'm trying to build a distributable version of my MacOS app using productbuild. The process used to work for me, but I transferred my files to a different computer, and now I can't complete the process.
I give the command
productbuild --component MyApp.app /Applications --sign "Developer ID Installer" InstallMyApp.pkg
and I get the error
Cannot write product to "InstallMyApp.pkg". (Could not find appropriate signing identity for “Developer ID Installer”.)
My keychain app clearly shows a certificate labeled Developer ID Installer: Gerald Agin (7HT9GPV6X3) with an expiration date 15 months in the future.
What am I missing?

Related

HP ALM - TD Connect

We have a VBA macro based automation tool which gets connected to HP ALM. In order to connect to ALM, we run the TDConnect.exe file which is downloaded through ALM.
Currently, we are unable to install the TDConnect file in windows 7 machine (Installation is successful in windows XP machine).
Could you kindly provide your valuable suggestions on this ?
Many thanks in advance!
Windows 7 and above, somethimes are tricky with the admin permissions, how are you installing the tdconnect? and by installing I suppose you are registering it aswell, if not then using OTA will not work as expected.
Normally, I would suggest to log in with an user account that has all admin permissions (Run as, create registry key, create files in programs data, etc) and install/register the components using the URL of your ALM + /qcbin/start_a.jsp?common=true .
For example:
http://myalm.mydomain:8080/qcbin/start_a.jsp?common=true
Also make sure UAC is disabled and the webpage is added to the trusted sites when doing this for the first time.

no API available to extract or create a archive with password in windows 8.1

Unfortunately in Windows store 8.1 there is no API available to extract or create a archive with password ,at least this what i find out after a lot of recherche on the web,
And because this is very important for us to find out something, we created a package on nuget.org that works like magic. Basically we manage to create/extract archive with password but sadly this does not pass the certification Kit evaluation.
http://www.nuget.org/packages/DotNetZipforWindows8.1/
I wonder if anyone can help us to get this API pass the test.
this is what i get in the certification Kit evaluation
http://social.msdn.microsoft.com/Forums/getfile/465599

How to get Local development STS running

I am in need of help getting Local Development STS running. I just started with MSDN tutorials and got stuck when trying to build WCF service using WIF. So far I did following:
Installed "Identity and Access Tools" in my Visual Studio 2012
Created new WCF Service project in new solution
Right clicked projects name and selected "Identity and access..."
Selected "Use the Local Development STS" option on first tab and changed token
type to "SAML 2.0" on "Local Development STS" tab
Clicked "Ok"
I end up with following that informs me about problems with certificate:
I verified that the file is there physically.
I verified access to it - System, Administrators and my user have full access to it (only last option is unchecked)
I tried to install the certificate manually, but it is protected with password and I cant find it anywhere
I tried to toy around with "Identity and Access..." wizard
I tried to google the answer
I tried to check if I have certificate like that installed, there are tree Personal certificates in my Local Machine store, but I have no idea how to check their subject or whatever else
So far I wasn't successful. Could anyone advise how to fix the situation, so I can be sure I have proper certificate installed, I would be eternally grateful.
Erchi
Are you using the .NET 4.5 tutorials - WIF Code Sample Index?
To check the subject:
Start / Run / mmc
File / Add - Remove Snap In
Certificates - Add.
My User Account - Finish - OK
Expand the tree as required - double click on certificate - Details.

j2me midlet signing for E71

I have created a Midelt which accesses phone contact details [read and write contacts] and access network, this application is working fine S60 emulator.
When I try to install in Nokia E71, it is giving certification error.
I have created certificate using below link. When I try to install it in the phone still I am getting the certification error.
http://www.j2start.com/
Can anybody suggest, is there any way to test a midlet in actual Nokia e71 device without certificate from CA?
If certificate is mandatory,
which is the most suitable CA [Verisign or Thawte ] for Nokia E71?
It was stated in that page (where you signed your app) that the validity of the certificate is between Sept 1, 2010 to Sept 17, 2011. You need to set your device's date to any date between the validity period.
If the same error persists, try to check the certificates in the jad and check if the same certificate is in the phone.
Find JadTool.jar in your machine. You may find it in the Java SDK installation directory or WTK installation directory. If you can't find it then simply download it from the internet. For simplicity, put it in (root directory) C: (I'm assuming you're using Windows, if not then tell me later ;)).
Copy your signed jad file in C. (I want you to have both files, JadTool.jar and your app's jad file, in one directory, preferably C, as a prerequisite of the next steps :D)
Open terminal/command prompt. Go to C; type cd \ (Again, I'm assuming you're on Windows.)
Still on the terminal, type java -jar JadTool.jar -showcert -all -inputjad YourAppName.jad. Mind the case of the letters.
On the previous step, you can see which certificates are available in your jad file. You can see the details of each certificate. Let's focus on the fingerprints. If, for example, you see a Thawte certificate, take note of its SHA fingerprint.
Check the certificates in your device. The certificates are usually found in Security under Settings. If you have a Thawte certificate in the jad then you must check the Thawte certificates in the device. Compare the Thawte SHA fingerprint found in the jad against the Thawte fingerprint of the device. If they match then the app with this certificate is install-able on the device. If they don't match then it is more likely that you cannot use this certificate with your jad file.
Do steps 6 and 7 for the rest of the certificates. If you can't find any pair
then, with the signing, it is more likely that you cannot install your app on your device.
By the way, you can still install your app on the device even if it is unsigned. One problem, if your app is unsigned, is that the user will be be bugged with security prompts. However, this can also be minimized. See my answer on how to minimize these prompts.
This could be the problem becase your either your certificate is old or just check the date on your phone. Your Phone might be running old date.

Compiling the GKRocket demo without Provisioning and Code Signing

I understand the need to provision apps when you are getting close to deployment; however, right now, I am just trying to play with some sample code. Specifically, the GKRocket demo that ships with iOS 4.2 SDK. I want to compile and run it; however, I get the following error:
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.apple.GKRocket' could not be found
The readme.txt claims "Build the game simply by opening it with Xcode and clicking on Build and Go."
I just read the following thread
Code Sign Error When Building iPhone Application
and the following
http://developer.apple.com/ios/manage/bundles/index.action
Since the app is using the NSNotificationCenter, it leads me to believe that I need an AppID. But shouldn't the demo already be pointing to and AppID setup by Apple for the demo code?
The plist shows
Bundle identifier com.apple.${PRODUCT_NAME:rfc1034identifier}
any ideas on what I should do to compile and run this in the simulator?
Update:
I was able to get it running by code signing, but never could compile without it :(
It appears since the GKRocket Demo is using the NSNotification Center that in fact you need to sign your code. You can sign your code with your/or your team cert. Change the Project -> Project Settings -> Code Signing Identity to use your cert. Note: If you don't have your cert, and you paid the $99 dev license go through the steps here.
Then open the plist file and change the bundle to your domain name.
Also, to get the GKRocket Demo running, make sure you turn on Bluetooth in your network settings.
System Preferences -> Bluetooth. Turn it on and check discoverable. Then go into advanced settings
Install your app on your iPhone with a build and run. Close the debugger. Then start your app in the local iOS simulator. Now manually run your app on your phone.

Resources