×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    "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 ??

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    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

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    Re: "Constrained by certificate" on development certificate

    Absolutely. I even requested another dev cert to make sure. No difference (

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    Re: "Constrained by certificate" on development certificate

    I found out by using *#06# on the 3250 )

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    Re: "Constrained by certificate" on development certificate

    Is there any way to confirm the IMEI info embedded in the certificate ??

  6. #6
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    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

    http://mobile.antonypranata.com/2006...0-3rd-edition/

    Regards,
    Peter

  7. #7
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: "Constrained by certificate" on development certificate

    Quote Originally Posted by pbmau
    Is there any way to confirm the IMEI info embedded in the certificate ??
    AFAIK there is no way.

  8. #8
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    Re: "Constrained by certificate" on development certificate

    Yes..i have seen that page ) Thanks.

    Here is my package file

    ; 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"


  9. #9
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    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.

    WTFMSFI They will tell you if your sis file have any problems .

    Peter

  10. #10
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    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.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  11. #11
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    Re: "Constrained by certificate" on development certificate

    Thanks guys..I will double check stuff, although i'm pretty certain my IMEI is correct.

  12. #12
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    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.

  13. #13
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    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 :

    BEFORE

    UID 0x0 0x2000C7D9
    SECUREID 0

    AFTER

    UID 0x0 0x2000C7D9
    SECUREID 0x2000C7D9

  14. #14
    Registered User
    Join Date
    Apr 2007
    Posts
    30

    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.

  15. #15
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Smile Re: "Constrained by certificate" on development certificate

    Quote Originally Posted by 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.
    Whenever you make any change in your .mmp file, you need to re-import/re-build your project.

    Also find out occurrences of "Unable to Install" from Antony's blog.
    http://blogs.forum.nokia.com/view_entry.html?id=93

    I hope this will help you.
    Kiran.

Similar Threads

  1. Nokia Tech Specialists, can you help me in installing User Certificate in Nokia 6230i
    By umeshbansal79 in forum Mobile Java Networking & Messaging & Security
    Replies: 17
    Last Post: 2008-01-09, 18:20
  2. Self-signed CA certificate
    By blackbuddha in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2006-07-25, 11:03
  3. Please help implementing WTLS
    By Nokia_Archived in forum WAP Servers
    Replies: 1
    Last Post: 2002-05-20, 13:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×