×

Discussion Board

Page 1 of 4 1234 LastLast
Results 1 to 15 of 52
  1. #1
    Regular Contributor
    Join Date
    Jul 2005
    Posts
    95

    Unable to install a protected application from an untrusted supplier

    Hello,

    I am trying to deploy an application on Nokia 3250 (Symbian OS v9.1) . I use Carbide.C++ Express and the final Nokia 3rd Edition SDK .
    However, on trying to install the sis file on the phone I get the follwoing error.
    Unable to install a protected application from an untrusted supplier
    I am aware that my application needs to be signed before being installed on device , and the console log of Carbide.C++ Express shows that a key-gen.key and cert-gen.cer files are being created and my application getting signed before the final sis file gets generated.
    So, I guess my application is already self-signed. So , whats causing the above error ?

    Thank You

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,555

    Re: Unable to install a protected application from an untrusted supplier

    Do you have a developer certificate installed on the device? And did you use it to sign the app? https://www.symbiansigned.com/app/page/devcertgeneral

    If not, you can only build and install unsigned apps.

  3. #3
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Unable to install a protected application from an untrusted supplier

    Are you using one of the extended capabilities? If yes, then you won't be able to use self-signed certificate. As petrib mentioned, you have to request developer's certificate from Symbian.

    One more thing to check, I've just got this from S60 blogger yesterday. If you open Application Manager. Select Options | Settings. Make sure that Software installation setting is set to "All". If you have "Signed only", you won't be able to install self-signed application.

    Antony

  4. #4
    Regular Contributor
    Join Date
    Jul 2005
    Posts
    95

    Re: Unable to install a protected application from an untrusted supplier

    Hello friends,

    Thanks antony and petrib for ur tips . I am not using any extended capabilities in my application . And the Software Installation settings in the Application Manager is set to All. Still I wasnt able to install the sis on the phone.
    However, I signed the application with an RND certificate and it works now .
    I am able to install the sis on the phone .

    Thanks guyz again for ur help
    Last edited by razas; 2006-04-27 at 15:34.

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    5

    Re: Unable to install a protected application from an untrusted supplier

    Please forgive me for my ignorance ... But how do you create a RND Certificate?

    I've already tried using the makekeys tool but after using the .cer & .key generated in the GCCE Properties, my test application still fails to install and comes up with this message " Unable to install a protected application from an untrusted supplier "

    Any suggestion and/or clarifications would be very much appreciated. Thank you!

  6. #6
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Unable to install a protected application from an untrusted supplier

    You can get R&D Certificate from Symbian Signed (http://www.symbiansigned.com/).

    Antony

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    5

    Re: Unable to install a protected application from an untrusted supplier

    Thanks for the quick reply Antony!

    I was able to get a dev cert from the link you gave me and finally got my app to install.

    However, I'm wondering about a few things.

    First, the limited IMEIs and expiry date. I'm developing a Freeware Instant Messaging Application and that kind of arrangement would definitely not be enough. Does this mean I have to shell out cash to acquire the proper certificates? How can this be a good freeware environment?

    Secondly, like I said, I am developing an IM Application. Therefore I would need access to sockets. I am not sure, but, is this available in the unrestricted APIs? Which capability do I have to request/enable to be able to use RSocket, RConnection, etc?

    Thanks again.

    Dustin

  8. #8
    Registered User
    Join Date
    Jun 2005
    Posts
    5

    Re: Unable to install a protected application from an untrusted supplier

    Found the answers to my questions ... Please disregard. Thanks!

  9. #9
    Registered User
    Join Date
    Sep 2006
    Posts
    20

    Re: Unable to install a protected application from an untrusted supplier

    Hello,

    I have the same issues in my project, an open source product for mobile phones.

    Dustin, could you tell me what your conclusions were ??

    Anybody else can help?

  10. #10
    Registered User
    Join Date
    Sep 2006
    Posts
    1

    Re: Unable to install a protected application from an untrusted supplier

    Quote Originally Posted by emurai
    Hello,

    I have the same issues in my project, an open source product for mobile phones.

    Dustin, could you tell me what your conclusions were ??

    Anybody else can help?
    You can self-sign your application -- and bypass a lot of the security BS.

    http://www.s2.org/~pekangas/creating...tificates.html

    I had this "unable to install a protected application" error and i fixed by setting the UID2 and UID3 correctly.

    UID2 = 0x100039CE
    (this is the standard code to say that the SIS is an executable.)

    UID3 = 0xA0000001
    (this is the application code. codes up to 0xA9999999 are in the 'unprotected' range. search the help for UID3 for the gory details.)

    also check that the wrong UIDs are not being referenced in the sis/*.pkg file.

    :jason

  11. #11
    Registered User
    Join Date
    Aug 2006
    Posts
    46

    Re: Unable to install a protected application from an untrusted supplier

    i just have to remind it
    Dont forget to update your *_reg.rss file
    It also contain UID3

  12. #12
    Registered User
    Join Date
    Oct 2006
    Location
    Poland
    Posts
    45

    Re: Unable to install a protected application from an untrusted supplier

    Hello!

    I have a similar problem, that is, exactly the same error message as in the title when installing on the actual device (N80 and E61)...I've been trying to solve this problem for a week now, and it seems that the solutions that worked for other people don't work for me.

    I'm using Carbide.C++ Express 1.1, to import (via the .mpp file) the HelloWorld console application that came with the S60 3rd SDK. It compiles, installs and runs no problem on the emulator itself.

    I have created a simple .pkg file, in order to get the .sis file out of Carbide.

    The pkg file looks as follows:

    Code:
    ;Vendor related information
    %{"Vednor"}
    
    ; standard SIS file header
    #{"HelloWorld"},(0xA0001E96),1,0,0
    ;Supports Series 60 (all versions)
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    ;
    "C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\release\GCCE\UREL\HelloWorld.exe"-
    "!:\system\apps\HelloWorld\HelloWorld.exe"
    I have no clue as to where the error might be...is there anything else that I need to watch out for, that might cause this error?

    As a beginner I'm pretty much stuck here...please help !

    Casper

  13. #13
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Unable to install a protected application from an untrusted supplier

    stellion, you can always check my blog posting about various signing error messages in S60 3rd Edition, http://blogs.forum.nokia.com/view_entry.html?id=93

    For Nokia E61, by default it doesn't allow self-signed application. However, you can disable it from the Settings menu. Check it out at http://www.s60tips.com/2006/05/25/in...0-3rd-edition/

    Antony

  14. #14
    Registered User
    Join Date
    Oct 2006
    Location
    Poland
    Posts
    45

    Re: Unable to install a protected application from an untrusted supplier

    Hi antonypr !

    Actually your blog is what I came across first, I really like that article I must say, well done!

    I have posted on your blog, but yet am waiting for a reply

    I know these settings you have mentioned, I have changed them in my E61, but no results...I have tried to install the app on my other Symbian phone - the N80, with precisely the same result...

    I assume that you have looked at my pkg file, and see no errors?

    I seriously can't think of any other way of solving this problem at the low know-how level, I currently am with Symbian OS.

    Anyone have any other suggestions? I'm pretty much stuck :/

  15. #15
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Unable to install a protected application from an untrusted supplier

    I have no clue either...

    Let's start from beginning again. Try to compile your application from command line (it's a bit hard, but let's give it a try).

    Type the following command to build from command line:

    bldmake bldfiles
    abld build gcce urel

    Then create the .pkg file using the following command:

    makesis helloworldbasic.pkg

    Next, you need to create a certificate. If you have a certificate already, then ignore this step:

    makekeys -cert -len 2048 -dname "CN=Joe Bloggs OU=Development OR=Acme Ltd CO=GB EM=noone@nowhere.com" mykey.key mycert.cer

    The last thing is sign your .sis file with your certificate:

    signsis helloworldbasic.sis helloworldbasic.sisx mykey.cer mykey.key

    Transfer the .sis file on to your phone and then install it.

    If this works, then something wrong with your Carbide.c++ environment (let's find out later). If this doesn't work either, then... (let me think again).

    Antony

Similar Threads

  1. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  2. Unable to install S60 Nokia Theme Studio 1.2
    By TheDarkus in forum Mobile Java Tools & SDKs
    Replies: 9
    Last Post: 2006-01-02, 16:19
  3. Replies: 1
    Last Post: 2004-02-10, 16:35
  4. application does not install on 7650 device
    By asangamneheri in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2002-07-08, 12:20
  5. Replies: 2
    Last Post: 2002-06-18, 01:25

Posting Permissions

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