"Constrained by certificate" on development certificate
Guys,
You've probably heard this a 1000 times before. I've tried to research this, but with no joy.
I have acquired a developer certificate which is bound to the IMEI using DevCertRequest.
I have acquired a protected UID for my app and am using it in the mmp/pkg file to compile and package the sis file.
I get Unable to install Constrained by certificate message when trying to install to the 3250.
Am I missing something here ??:confused:
Re: "Constrained by certificate" on development certificate
Is the IMEI that you have given for DevCertRequest and the IMEI of your 3250 are the same.?
Peter
Re: "Constrained by certificate" on development certificate
Absolutely. I even requested another dev cert to make sure. No difference (
Re: "Constrained by certificate" on development certificate
I found out by using *#06# on the 3250 )
Re: "Constrained by certificate" on development certificate
Is there any way to confirm the IMEI info embedded in the certificate ??
Re: "Constrained by certificate" on development certificate
can you post your PKG file here.? Most of the cases such error occurs when the IMEI is different.
Look at this web page
[url]http://mobile.antonypranata.com/2006/06/16/interpreting-signing-error-messages-in-s60-3rd-edition/[/url]
Regards,
Peter
Re: "Constrained by certificate" on development certificate
[QUOTE=pbmau]Is there any way to confirm the IMEI info embedded in the certificate ??[/QUOTE]
AFAIK there is no way.
Re: "Constrained by certificate" on development certificate
Yes..i have seen that page ) Thanks.
Here is my package file
[CODE][/CODE]
; MSCAS.pkg
; Languages
&EN
; Header
#{"MSCAS"},(0x2000C7D9), 0, 1, 1
; Platform compatibility
[0x101F7961], *, *, *, {"Series60ProductID"}
; vendor
%{"Vendor Name"}
:"Vendor Name"
; Target
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\gcce\UREL\MSCAS.exe"-"!:\sys\bin\MSCAS.exe"
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\data\z\resource\apps\MSCAS.rSC"-"!:\resource\apps\MSCAS.rSC"
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\data\z\resource\apps\mscasapp.mbm"-"!:\resource\apps\mscasapp.mbm"
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\data\z\resource\apps\mscas.mbm"-"!:\resource\apps\mscas.mbm"
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\data\z\resource\apps\MSCAS_reg.mif"-"!:\resource\apps\MSCAS_reg.mif"
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\data\z\private\10003a3f\import\apps\MSCAS_reg.rSC"-"!:\private\10003a3f\import\apps\MSCAS_reg.rSC"
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\gcce\UREL\MSCASScan.dll"-"!:\sys\bin\MSCASScan.dll"
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\gcce\UREL\MSCASUpdate.dll"-"!:\sys\bin\MSCASUpdate.dll"
[CODE][/CODE]
Re: "Constrained by certificate" on development certificate
Your PKG file seems to ok.
You may read the earlier link once more and check for every reasons that Antony had said about.
And as a test you can try upload your sis file to this site.
[URL="http://whythefuckwontmysisfileinstall.com/"]WTFMSFI[/URL] They will tell you if your sis file have any problems .
Peter
Re: "Constrained by certificate" on development certificate
Since no one has mentioned it, Dev. certs constrain capabilities too. Make sure you haven't given your DLLs ALL-TCB or something.
Re: "Constrained by certificate" on development certificate
Thanks guys..I will double check stuff, although i'm pretty certain my IMEI is correct.
Re: "Constrained by certificate" on development certificate
Ok...I have found the problem. When I was requesting the Dev. Cert I had specified ReadDeviceData/NetworkServices instead of ReadUserData/NetworkServices (time to step away from the code!).
So in short it was a mismatch between the capabilities in the certificate and the capabilities in the actual binaries.
All useful information for us all I guess.
I'm getting an 'Unable to Install' message using the pkg file posted above, so I'll have to look closer into this.
It would be cool if there was a log somewhere on the device that had logged the installation failure in more detail.
Re: "Constrained by certificate" on development certificate
Ok..further on the "Unable to install". I changed the secureid in the mmp file to be the same as UID3. As below :
[U]BEFORE[/U]
UID 0x0 0x2000C7D9
SECUREID 0
[U]AFTER[/U]
UID 0x0 0x2000C7D9
SECUREID 0x2000C7D9
Re: "Constrained by certificate" on development certificate
Further on this (amazing how little details make a difference to newbies). This UID is sourced from symbiansigned.com and is in the 'protected range'. When Carbide first creates your project it assigns a UID3 in the unprotected range.
Re: "Constrained by certificate" on development certificate
[QUOTE=pbmau]Further on this (amazing how little details make a difference to newbies). This UID is sourced from symbiansigned.com and is in the 'protected range'. When Carbide first creates your project it assigns a UID3 in the unprotected range.[/QUOTE]
Whenever you make any change in your .mmp file, you need to re-import/re-build your project.
Also find out occurrences of [B]"Unable to Install"[/B] from Antony's blog.
[url]http://blogs.forum.nokia.com/view_entry.html?id=93[/url]
I hope this will help you.
Kiran.