Home > Nokia E61, Symbian, Tips'n Tricks > Installation Root CA on Nokia E61 Made Easier

Installation Root CA on Nokia E61 Made Easier

From this day on, you can install certificates from non-trusted CA’s on your Symbian-based phone (like the Nokia E61) using this page euh.. this page.

UPDATE: it seems that most other phone brands and types work as well (the S40 based devices are left out… sorry).

All you need to do is make sure that the certificate is in the DER format. The webpage doesn’t verify if the certificate is in the correct format. This is up to the uploader.

I created this page, because I work a lot with digital certificates, so I don’t want to be bothered with the workaround described in the earlier post.

The current version is quick-and-dirty (no error messages). I’ll try to make it more user friendly in the next couple of days (like having the option of sending the URL to an e-mail address). Just make sure that you obey the guidelines shown on the page, and all should go well.

Feel free to add a comment on how to improve this.

UPDATE: This works on (almost) every Symbian based (Nokia) phone. It has been tested with a couple of phones from the Nokia E and N series.

Categories: Nokia E61, Symbian, Tips'n Tricks Tags:
  1. derek
    June 24th, 2007 at 16:25 | #1

    Like many people I have spent ages tring to get my E61 to work with my Exchange Server. I originally managed it about 6 months ago but had to reconfigure the server, since when I get nagged about the untrusted cert error. I have tried turning off SSL on the phone but this only works for a few hours before it fails to sync.

    I have tried your method but it although the cert seems to install it doesn’t resolve the error.

    Any more help as to what certificate I should be submitting very greatfully accepted…

    Currently my server is configure with the Wizard in Small Business Server 2003 as mail.MYDOMAIN.co.uk but when I submit a cert (exported from entering https://mail.MYDOMAIN.co.uk/Exchange and clicking on the padlock in IE) It shows up as a cert called MYSERVER.MYDOMAIN.co.uk which I assume is where things are going wrong…

  2. June 24th, 2007 at 22:18 | #2

    Hi Derek,

    your assumption is right. The ‘Common Name’ in the certificate doesn’t match the URL (the first part). This will always show a warning. The problem is that the Nokia browser isn’t very clear on that.

    The only proper way to correct this is to get a new certificate for the right URL. So you need a certificate for mail.MYDOMAIN.co.uk.
    I don’t know if you have a commercial certificate or a so-called self-signed certificate. My guess is that you have a self signed certificate at the moment, since it’s called MYSERVER.etc. Create a new one and import it and all should be working again without annoying warnings.

    Hope this helps.

    B.t.w. it’s possible to have more than 1 certificate on the server, so there’s no need to remove the other one. You can still use that one for other purposes (if you have any). Just ‘bind’ the new one to the website which servers the OWA interface.

  3. derek
    June 26th, 2007 at 13:29 | #3

    Thanks for the reply. It’s more than I got from Nokia…..

    I have tried to do what you say and after running the Internet and Email wizard in Small Business Server 2003 I have created a new certificate in the name of mail.MYDOMAIN.co.uk (using the domain I give in my email address). This seems to work for my email on a pc without error but when I login to https://mail.MYDOMAIN.co.uk/exchange on a pc I export a cert using the der option which gives me a .cer file. I then run it through your online tool and access it via a browser on my Nokia where it installs. However, the certificate problem still pops up everytime…

    This is a real pain…. Do you have any idea’s what I can be doing wrong?

  4. Willem
    June 26th, 2007 at 13:44 | #4

    Hi Derek,

    I think I found your problem. Your certificate is signed by a CA. You need to export the CA certificate and import that one on your phone. I checked the logs on my server and you’ve uploaded the certificate for the mail server. You should have used the issuing CA.

    The best way of accomplishing this is to open the certificate on your server. Check the tab ‘Certification Path’. This should show a chain of certificates.
    Double-click the top one (that’s the issuing CA). Open the details tab on the newly openend certificate window and click the ‘copy to file’ button to export it in the DER based format.
    Upload that certificate, and import it on your phone.

    The reason for receiving errors is that the Nokia validates the certificate. It sees that the certificate (with the correct DNS / Common Name in the subject field) is issued by a CA (your root CA), but it has no knowledge of this CA. That’s what is causing the error/warning.
    I guess that the small business server does some thing in the background when using certificates. Just to offload the burden on the certificate creation/maintenance process.

  5. derek
    June 26th, 2007 at 15:47 | #5

    I must be doing something wrong here…

    Here’s what I do…

    Open IE on server. Type in https://mail.MYDOMAIN.co.uk/exchange
    Click on padlock to open cert
    Click on Certification Path
    I am then shown a cert saying mail.MYDOMAIN.co.uk in the top box and “this certificate is ok” in the bottom (status) box. This is the only cert shown and I can’t open it by doubleclicking on it..

    Your help is very much appreciated…

    dc

  6. derek
    June 26th, 2007 at 17:06 | #6

    My last post seems to have gone walkabout..

    This is what I have just tried..

    I opened IE and entered https://mail.MYDOMAIN.co.uk/exchange
    Clicked on the padlock and then the certification path tab.

    This tab just has “mail.MYDOMAIN.co.uk” in the top (path) box and “this certificate is ok” in the lower status box.

    I can’t double click on this cert (or anything else).

    I’m obviously doing something fundamentally wrong here. Any idea’s what??

  7. June 26th, 2007 at 18:27 | #7

    Hello Derek,

    When I examine the certificate, it shows 5 CN (Common Name) entries in the subject field. The last CN entry contains the proper name for the server. When I tried to import it into my Nokia, it shows the wrong Common Name. In fact it just displays the first Common Name. Since the displayed Common Name is different from the actual Fully Qualified Domain Name, it’s quite logical that you receive an error that the certificate doesn’t match the URL you’re visiting.

    I guess that the Nokia doesn’t like the set of multiple Common Names in the subject field, and it just picks the first one it sees (the wrong one).

    Normally a (Windows) certificate has a subject that contains the following entries:
    CN=mail.domain.co.uk
    DC=Domain
    DC=co
    DC=uk

    or if you’re using a ‘normal’ non MS certificate:
    CN=mail.domain.co.uk
    OU=organization unit
    O=organisation

    I don’t know the certificate generation process of the MS SBS, but try if you can generate a certificate with only 1 CN (with the proper name). Alternatively, you may try to use OpenSSL to generate a selfsigned certificate. There are lot’s of tutorials on that.

  8. derek
    June 26th, 2007 at 19:52 | #8

    I’ve tried changing the common name to the fqdn but after I changed the server name in my Nokia settings to this fqdn it just won’t snych. Are you sure this fqdn is right? It seems to end in .local which doesn’t seem right to me..

    dc

  9. derek
    June 26th, 2007 at 20:29 | #9

    I’ve had to go back to mail.domain.co.uk to get mail to work properly. I can either trust the cert manually each time (which is a pain) or turn off ssl on the phone which only works fitfully and obviously isn’t an ideal situation..

    Seems that I’m stumped…

    dc

  10. derek
    June 27th, 2007 at 01:14 | #10

    Thanks for your email but it seems that my server must be messed up when it comes to certificates. I’ll try and find a solution…

    dc

  11. derek
    June 28th, 2007 at 12:28 | #11

    I have tried dealing with Godaddy.com but they refuse to accept emails from me for some bizarre reason or other. I think I will just use leave the SSL option turned off on the phone. As long as I turn it on first thing in the morning for the first sync and then turn it off again it seems to work fine for the rest of the day or as long as the phone is left on..

    Not ideal but I’m fed up trying to sort this out.. Is there a way to turn off the ssl requirement on the server?

    dc

  12. June 29th, 2007 at 12:30 | #12

    Hi Derek,
    I have no idea on how to turn off the SSL requirement on the SBS. Guess you’re left with google on that one.
    B.t.w. strange that GoDaddy refuses your e-mail. You might be on a blacklist or something.

  13. derek
    June 29th, 2007 at 13:28 | #13

    Success… I have finally managed to get the certificate trusted.

    Here’s how I got my Nokia to accept the certificate as trusted. It may not work for everybody but it worked for me and after the past week of messing about I am truly grateful for that…

    Basically, I uninstalled then reinstalled Certificate Services through add/remove programs. I then followed the advice on this site (below), but only as far as requesting a cert through IIS Manager.

    http://www.msexchange.org/tutorials/SSL_Enabling_OWA_2003.html

    I followed the advice until this section (mainly because it wouldn’t allow me to request a cert through IE on the server…)..

    “Getting the Pending Request accepted by our Certificate Authority”

    I then opened “certification authority” on the server (through administrative tools) and right clicked the cert authority which will have the same name as the cert you had just requested and selected properties. In my case, something like mail.mydomain.co.uk…

    Under the General Tab I highlighted “certificate#0″ in the CA Certificates box and clicked “view certificates”.

    This opens the cert and I then clicked the “details” tab and saved the cert to a location using the “copy to file” button.

    Using the wizard I selected the first option “DER encoded binary x509(.cer) gave it a friendly name, saved it somewhere handy and closed the wizard.

    I then copied the file onto a pc with the Nokia PC Suite installed and copied it to the documents folder (although any one will do). I guess you could bluetooth or email the cert as well..

    I then browsed to it on the phone, clicked on it and it let me save it automatically into the certs folder. I restarted the phone, checked SSL was on and bingo the certificate was trusted and remains working today… You might have to delete an existing cert if you already have one installed as it won’t let you overwrite it..

    As I say, I can’t say this will work for anybody else as I have probably fiddled around with the server so much it has gone west in some respects, but it works for me and that’ll do for now…

    dc

  14. derek
    July 2nd, 2007 at 18:18 | #14

    There is a bit I left out when working through the exchange tutorial above…

    When using the Certificate Services and entering a common name (mail.mydomain.com, say) change the box below (the distinguished name suffix) to…

    DC=mydomain,DC=com

    Then carry on as before…

    This seems to give you 3 rather than 5 entries in the resulting certificate which seems to solve the problem…

    dc

  15. July 5th, 2007 at 09:25 | #15

    Thanks a lot Willem. Your website helped me a lot. And finally I got to install the certificate on my Nokia E65. But still the are problems:

    When i set the exchange server properties to my local exchange server (sample_exchange_server.domainname.local) & using my WLAN connection in my office ; emails are directly pushed to my mobile without any certifiacte problems. :grin:

    The real problem arises is when I am out of office & I am using a gprs connection. In theese situation I set the exchange server to http://www.mycompanyname.com & connection to GPRS. I can get the emails pushed to my mobile, but every time I get this certificate authentication popup & I have to press continue now & then. This is really a pain & annoying.

    The certificate issued by my OWA (www.mycompanyname.com/exchange) & my local exchange server (sample_exchange_server.domainname.local) are the same. In addition the certificate issued only has one root (no multiple roots).

    It’s only me having this problem. My colleagues who have Windows Mobile PDA(Imate & O2) don’t have any crappy certificate issues ( this proves that our certificate is stable & has no problems). For your info mwe are using a SBS 2003 self signed certificate. We have implemented push email technology in over 5 companies using Imates (or a windows PDA device). Why Nokia has to be a pain.

    I would be eagerly waiting for your feedback. Please help me out

    Thanks a lot in advance

  16. July 11th, 2007 at 19:51 | #16

    Hi Muneer,

    your comment ended up in the spam container, sorry about that.

    let me see if I understand your challenge;
    Your corporat OWA is accesible through your intranet using xyz.domain.local. The SAME OWA interface is also accesible through the internet by using whatever.domain.com.
    Both interfaces use the same certificate. What is the common name in the certificate?
    Is the certificate issued by the same certificate authority, or is it a selfsigned certificate?

    So I could use a bit more info on this.

    You may mail me directly by using willem @ [thiswebsite].com is you’re reluctant to certain info with the rest of the world.

    B.t.w. Microsoft devices tend to remember earlier settings made by the user, so if you accept the ‘illegal’ certificate once, it will problably accept it (silently) the next time.

  17. Daniel
    July 13th, 2007 at 22:43 | #17

    Willem, I tried upload Equifax and Thawte certificaties at your http://www.redelijkheid.com/symcaimport/ - not work on my Series40 phone. Can you (or somebody) convert these certificaties from DER to WPKI hashed format? I will send it with email attachment…

  18. July 13th, 2007 at 23:46 | #18

    Hi Daniel,

    pffff, no idea what the WPKI form exactly is, but I might give it a shot?

    http://forum.nokia.com/main/resources/technologies/browsing/support/phone_security_faq.html has some suggestions. I’ll try to incorporate them in my download page, so it supports S40 and S60 phones.

  19. Daniel
    July 15th, 2007 at 17:00 | #19

    Willem,

    I tried your changed import-site, but no work for me. Sorry. Obviously, result must be in WPKI format and server MIME type application/vnd.wap.hashed-certificate. Tnx for effort.

  20. July 15th, 2007 at 17:16 | #20

    Hi Daniel,

    could you try it again? I made some modifications to the HTTP headers on the server. Don’t think it will make much of a difference, but one can always hope.

    B.t.w. there is a lack of information on the Internet about WPKI conversion…..
    Anyone with more info about this?

  21. Michal Bochenski
    August 24th, 2007 at 22:54 | #21

    Hi Willem.

    I just want to thank you for your work. I used your site with my N73 Nokia phone. Everything is works now!

    Thanks again!

    Best,
    Michał

  22. September 10th, 2007 at 16:26 | #22

    Would it be possible to get a copy of the perl/php or whatever code is driving the script on that page please? Would like to host a local copy for doing some of my certs if possible. I tried just setting the MIME-Type to application/x-509 or whatever was recommended by Nokia but couldn’t figure it out in Exchange, I might play with Apache this afternoon but I thought it might be easier to just get the script ;)

    PS: This page was very useful in getting my N95 to work, although it took me a while as there are lots of bits and pieces with lots of misinformation all over the net. I’m writing up a full howto on how to configure MS Certificate Services and the process to get this to work with the N95s now… Don’t have anywhere to publish it yet though.

  23. September 10th, 2007 at 20:29 | #23

    Hi Chris,

    I used Coldfusion for those pages and I configured IIS to return the proper MIME setting to the browser.
    If you want the coldfusion source code, I’d be more than happy to provide it. My e-mail address can be found on the ‘About the Owner’ page. We can discuss the other part by e-mail if you like.

  24. me
    September 11th, 2007 at 10:57 | #24

    Guys,

    maybe the dumbest question of the day…but is there a way to edit a certificate ?

    Mine has extra CN= lines in the subject field and i have no idea how to remove this….

    Ideas?

  25. September 11th, 2007 at 13:02 | #25

    Derek @ June 29th, 2007 at 1:28 pm had a similar problem. He solved it by reinstalling the certificate services etc. Have you tried his solution?

  26. September 15th, 2007 at 00:30 | #26

    Hi willem, thanks for the solutions. I ve been messing a couple weeks just to get the certificate installed on nokia devices. It realy help me out that ur page do the work for me, and it works like a charm, thanks so much…btw, can i implement the script on my server (with credit for you :wink::wink: for sure ) thanks in advance.

  27. September 15th, 2007 at 09:27 | #27

    Hi Othman,

    I made the files available for everyone (I had several requests in the last week). You may download them here.

  28. Linda
    October 22nd, 2007 at 16:16 | #28

    Many thanks for this tool which has solved our problem with the Nokia E65. Really appreciated. From Linda in South Africa

  29. Greg
    November 5th, 2007 at 23:49 | #29

    Does anyone know whether it is possible to export a CA certificate from a Nokia E61? Thanks.

  30. November 6th, 2007 at 09:10 | #30

    Hi Greg, as far as I know there’s no export function available.
    Commercial root CA’s must be available for download at the CA’s website (e.g. https://www.verisign.com/repository).

  31. Filip
    November 15th, 2007 at 08:36 | #31

    Can the tool also convert from X.509 DER to WPKI? I have a Nokia 6021 which only supports WPKI.

  32. November 15th, 2007 at 09:39 | #32

    I’m afraid not. I still haven’t figured out on how to convert the formats. Sorry

  33. Claus
    December 5th, 2007 at 19:41 | #33

    Nokia N95 8GB certificate import.
    I used this page and apparently successfull.
    I´m puzzled though. When I look at the certifikate before I upload it. it shows the url I use for webaccess and Outlook using RPC over https. Bur when I look at the certificate on the phone, it shows the local name of my server with domain name. !?
    Still M4E does not work but says system error, try again later.
    What to do the ?

  34. December 6th, 2007 at 14:16 | #34

    Hello Claus,

    the SSL certificates that are generated for Outlook stuff contains multiple Common Names ‘CN’ or additional ‘Subject Alternative Names’. Apparently, the Nokia interface only shows one. My guess it’s the first. Just open the certificate on a windows platform and take a look at the details.

    no idea what you mean by ‘M4E’ though.

  35. Matthias
    December 11th, 2007 at 17:07 | #35

    Hello Willem,

    I found your website the most useful one (and I visited a lot to this issue), but when I use your service and try to download the changed Certificate from your urls, my Nokia E51 (s60 3rd) says “dateifehler” (Fileerror) and it the import into the certificate store fails. It doesn’t matter if you use a der or cer ending. Nothing of those worked. Perhaps you will see it in the logs called cfs.cer or cfs.der. It is a self signed certificate, which works fine on Windows Mobile our admin says.

  36. December 15th, 2007 at 12:00 | #36

    Thanks for this great tool!

    Made getting my phone and clients phones working with Exchange a breeze!

    Cheers and Merry Xmas,

    Greg Lipschitz
    Summit IT Management
    Melbourne, AU

  37. Hilko
    January 2nd, 2008 at 00:45 | #37

    Thank you very much for your perfect tool! Incredible how many people lose so much time with bad software and arrogant companies - and how easily it could be saved. Thank you again and good luck for 2008! Hilko

  38. drhu
    January 6th, 2008 at 17:08 | #38

    It is painful to pay for the midlet to sign? Why should we pay it? It is my phone, if I want to install some application that I developed, why should I pay Verisign money!!! And also I hate the operators that disabled the J2ME API. Why? Because some API be disbaled onpurpose by the operator, like AT&T. Fox eample, nokia phone model 6085, when release in other country you can access getSnapshot() while in US you can’t. Why the AT&T or cingular disable the getSnapshot API. It is my phone and I as the owener of the mobile phone, should control the phone myself. Agree?

    Willerm,
    We definetely hope your tool can solve the S40 problem. I have Nokia 6085. From what I read on Internet, it requires WPKI format.

  39. January 6th, 2008 at 17:22 | #39

    Hi drhu,

    it is possible to get a symbian developer kit to sign your own applets. Problem is that the app only works on your own phone (it’s EMEI number dependent). I played around with it with some apps and it works fine. So the VeriSign or other commercial CA certs are only required if you go commercial with your app.
    In the meanwhile I’ll fool around with the WPKI format. There are some commercial tools around which can do the conversion, but since I’m dutch….. I refuse to pay, and will find a way around it :)

  40. drhu
    January 6th, 2008 at 18:06 | #40

    Hi Willem, Would you please more specific how to enabled my nokia 6085 phone have the access getSanpshot()?

  41. drhu
    January 6th, 2008 at 18:26 | #41

    Download for S40

    You may use the following link to download your uploaded certificate (ca.cer) on your phone:

    http://www.redelijkheid.com/symcaimport/ca/h3k88ec8.cer

    Mail the URL

    NOTE: Please verify the certificate details (e.g. the fingerprint) to make sure you install the correct certificate.
    Installing the wrong CA might render you vulnerable to man-in-the-middle attacks.

    Process another certificate or back to the blog

    ++++++++++++
    when I download the above link on my phone, it says “The requested page can not be displayed”

  42. Danny
    January 10th, 2008 at 10:50 | #42

    I uploading my cert file, and tried to access. When I try to save, I am told the “New certificate might me unsecure. Save anyway?”, and then told “Certificate already existst”.

    however, when ever I try and snyc, I am told “Untrusted Certifiate received from server. Please contact you system admin”

    Am I missing a step here?

  43. Danny
    January 10th, 2008 at 11:21 | #43

    I got it working: I had to get the intermediate certificate installed on my phone.

  44. January 10th, 2008 at 18:43 | #44

    Hi dhru,
    It doesn’t surprise me that the S40 phones aren’t working. The technique I used was purely theoretical. However, there’s some light on the horizon. I asked a friend to write a WPKI converter which I can implement in the download tool.
    Downside is that there’s not much info on the subject, so it might take a while.

  45. February 11th, 2008 at 12:55 | #45

    Just wanted to trop u a line.. Been working on cert issues via activesync on my N95 but now after 3-4 months of no SSL connection I finally got it :)

    Thanks a bunch

  46. Ignacio
    February 18th, 2008 at 12:57 | #46

    Hello!

    I want to say BIG thanks to derek (and of course to Willem).

    derek, I followed your instructions and I finally have my certificate trusted from my Nokia E51/E90. I am using SBS2003 too.

    I was simply bored trying to manage this to work and I was using Road Sync (which can work without certificate) instead built-in Nokia’s Mail for Exchange.

    THANKS, THANKS!!! :D

  47. March 4th, 2008 at 13:22 | #47

    Hi,

    Have a similar problem with import certificates. Except when i download the file from the web my phone keep saying “File Corrupt”.

    I have tried using your web solution and also uploading files to my own web space and setting the MIME types. Both ways i get the same result.

    Anyone have any idea why its say corrupt?

    Thanks
    Brian

  48. March 5th, 2008 at 07:47 | #48

    After scanning through support FAQ, nokia’s site I eventually foudn your free service, worked like a charm on the Nokia N82! Thanks, my paypal account needs certification otherwise I would have donated, will donate as soo as mine is up and running. Nokia owe you BIG!

  49. onur
    April 5th, 2008 at 22:35 | #49

    Here is my dilemma…

    I am running my own server with a self signed ssl certificate for the exchange server. Any way to import the ssl certificate (either through my IIS or this web site) gives me the error “FILE CORRUPTED” . I know the file is fine since I imported it into a WM6 device OTA via IE and IIS without any problems. What am I doing wrong?

  50. April 6th, 2008 at 20:59 | #50

    Make sure that the certificate format is in DER format (binary) and not in the readable BASE64 format.

  51. nikola
    April 12th, 2008 at 13:40 | #51

    i have the nokia n73 and i have installed the first certificate with no problems but now i want to install an onther one and the phone says that the certificate is damaged. does anyone know why that is?

  52. April 13th, 2008 at 22:04 | #52

    It’s either in the wrong format (base64 instead of DER), or you’re missing a root or an intermediate certificate.
    More and more certificate chains consists of more CA’s. A root CA, and an issueing intermediate CA. Just verify the ‘issuer / issued by‘ field in the certificate to verifiy the actual chain. And import the certificate of the CA you’re missing.

  53. Nikola
    April 15th, 2008 at 21:16 | #53

    oke thx but i have one more question. i have made a certificate with the s60 3rd edition fp2 sdk using the makekeys command and all the certificates i have made so and sumbit it to this site and after the download is done on my phone nothing happens, no option to save the certificate. other certificates i can save with no problems. what can be the problem?

  54. Derek (not that one!)
    April 22nd, 2008 at 13:19 | #54

    Juz wanna say thanxs.

    used your site to get certs on 8 nokia phones, how else do they do it?

    ;-)

  55. mua30
    April 24th, 2008 at 10:53 | #55

    dear sir,

    I have nokia e65, I had installed mail for exchange on my mobile. i had configured my mobile as follows :
    server : webmail.apl.com
    secure connection : Yes
    access pint : weireless
    use default port : Yes

    The problem is, when Iam trying to connect, i am receiving “Secure connection required, set the secure connection to Yes in profile”, although its already set to Yes.

    After searching on the net, i find that i must install web cert. from webmail server ( pls note that the web server is powered by the mother company in US, and I dont have exchange here). I went to my OWA site, and transfered the web certificate in der format. but when transfered it to my phone and try to install it, i got this error
    ” Save Certif.: featuer not supported”. In the securty panel on the phone, i went to entrust CA, and set the settings of it to Off.
    But still unable to connect to exchange server.
    Any Guide pls

    thx … mua

  56. April 24th, 2008 at 19:08 | #56

    When you open the certificate with notepad, is it ‘readable’. If so, you need to convert it to the binary format (lot’s of hints on that via google).
    I checked your OWA website and adding the Entrust (root) CA should be the only CA you need to add.

    I don’t have any experience with the exchange connector on the Nokia, so I can’t reproduce this. Sorry on that.

  57. mua30
    April 27th, 2008 at 10:20 | #57

    Willem,

    for my reference, it should be exported in 64 based format! if so then its text file, one more thing i had noticed, when exporting the certificate, it doesnt conatins the keys, it IE behave.

    thx n rgrds…mua

  58. vigneron
    May 17th, 2008 at 17:43 | #58

    Perfect! Has been done at a glance.
    Saved a lot of time, thank you so much!

  59. Kaelidan
    June 2nd, 2008 at 19:14 | #59

    THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! =D I was going NUTS with this!

  60. david
    June 7th, 2008 at 02:22 | #60

    I’m trying to install a Thawte code signing certificate on my nokia 6131 nfc (s40 3rd ed.).

    I got a Thawte code signing certificate from http://www.thawte.com/roots (I also tried with exporting thawte and verisign certificates from IE). I check valid usages and code signing is there.

    I succeed by using the site http://www.redelijkheid.com/symcaimport/index.cfm, surprisingly just if I use the “S60 device” option.

    I downloaded the .der cert on my PC. I check valid usages and code signing is there.

    However, once the certificate is installed on my phone (I downloaded from the website), I check the allowed uses: Application signing is unchecked!!! and I cannot check it! I also tried to install an application (opera mini 4.1) signed with thawte without success.

    I guess just the 6131 nfc certificate manager does not allow for other code signing certificates than the nokia ones. Does anybody know another method to install code signing certs in s40?

  61. Kermit007
    June 18th, 2008 at 15:23 | #61

    Hello.
    I’m trying to do anything with certificate and Active sync on E61 and last MFE, but without results.
    May be something wrong with my Certificate? https://mail.rmg-media.ru

    E61i ask me about untrusted certificate again and again. I think and the last idea, that something wrong with certificate. Please, anybode help me.

  62. June 25th, 2008 at 08:56 | #62

    @ Kermit007
    Your certificate doesn’t have the proper common name. The current common name is:
    CN = RMG-CA

    The error you receive is that the URL displays a different name than the one contained in the subject field of the certificate.
    This should be mail.rmp-media.ru
    You may want to generate a new certificate with the proper CN value.
    (everything on your own risk (of course))

  63. lob2k
    August 25th, 2008 at 16:53 | #63

    Good for you for hosting this service. A lot of people probably have no idea how to install & run openssl or configure mime types. I’m sure you’ve saved hundreds of frustration hours already. Good job man.

  64. Sloopmeester
    September 9th, 2008 at 01:15 | #64

    Thnx for this, works great.
    Tested it on a E51 and it works.

  65. Sergio
    September 25th, 2008 at 11:55 | #65

    tried all the process on a nokia N95 8GB. when I download the certificate from my web browser in the telephone it says that the file is damaged. I can download the cweritificate on the pc but dont have a clue how to install it from the pc to the phone. Ca you tell me if there is a solution or if the certificate does not work with nokia N95 8GB?? thanks

  66. Brendan
    September 27th, 2008 at 20:47 | #66

    I was able to convert my certificates to DER by doing the command
    openssl x509 -in ca.crt -out ca-der.crt -outform DER
    and the N95 8GB liked them much better. The .crt suffix has to be on
    the file or it’ll see ‘.der’ or something else and decide to bring it up in the Notes viewer.

    I ran openssl x509 under Linux but I know there are Windows and Mac OS X ports of it as well. Tedious to have to do it on the command line, but still… :)

  67. Taj
    September 30th, 2008 at 18:29 | #67

    Just a question where does the modified certificate get stored on an N95.

    Taj

  68. September 30th, 2008 at 21:51 | #68

    @Sergio:
    most likely that the subject in the certificate contains more than 1 Common Name (CN). Try generating a certificate with one CN and try again.

    @Brendan: I’m looking into the possibility of combining OpenSSl in the SymCAimport pages. Just to give some more diagnostically feedback and/or to convert base64/PEM certificates to the binary form.

    @Taj: No idea. Probably in a (propriatary) certificate store or something.
    You can view (edit trust settings and delete) the installed certificates in the interface by going to: Menu -> Tools -> Settings -> General -> Security -> Certif. Managment.
    Hope this answers your question

  69. Taj
    October 1st, 2008 at 12:38 | #69

    Thanks a lot. Deleted the certificate and tried again and works a treat.

  70. October 14th, 2008 at 17:35 | #70

    Hi there, Great idea. Will this work for a Nokia 5310 device that is based on Symbian OS S60?
    Best wishes,
    NEOCRON.COM

  71. October 14th, 2008 at 23:20 | #71

    It should work on any S60 based phone

  72. October 15th, 2008 at 11:22 | #72

    Tanks for the info. I’ll shuffle off any pick up the 5310

  73. Geert Nysmans
    January 7th, 2009 at 08:48 | #73

    Great tool : it also works with a Nokia N73 and a self signed certificate !
    Thankx

  74. JohnnyB
    January 23rd, 2009 at 00:12 | #74

    I just get an error when trying to install the certificate on my e71. It’s for use on my works wireless network. The admins have said they will try and assist me but have no experience with symbian s60 devices. My work laptop has a trusted root certificate installled to connect to the network using WPA TKIP - PEAP, Validating the server certificate and then uses MSCHAP-v2 authentication.

    I have a copy of the wap.cer which i believe is in the right format however whenever i try and install it i am unable to open the file : file not supported this happens both as a .cer and a .der

    Any support would be appricated.

  75. January 23rd, 2009 at 14:14 | #75

    If you can open the certificate in Windows (by double-clicking it), it’s a relatively valid certificate. If that fails, the certificate is corrupt or has an unsupported format.
    If it opens in Windows, you should check if you can open the file in Notepad. If it opens, and starts with — BEGIN CERTIFICATE— it’s in the wrong format (PEM/BASE64). You should convert it to DER (binary) format before uploading it.
    Tips on converting it to DER format can be found here.

  76. Bernhard
    January 23rd, 2009 at 21:00 | #76

    Hello Willem

    Hopefully you can help me. I am runing two 2008 domaincontollers one of them are a certificate server. i have created a new certificate an exported in to exchange 2007 and that is working ok. Owa is also working well. I exported out my https://mydomaincontroller/certsrv/certcarc.asp marked it as an der certificate and save it to my desktop. I used your wonderfull tool to install the certificate to my nokia e65. That part is working as a dream. But my cellphone will not trust the certificate. What can be wrong? Can you look in your logs?

    Best Regards

    Bernhard

  77. Sajjad
    February 19th, 2009 at 17:58 | #77

    Hi Willem, has the import CA tool been tested with the E71? As it downloads the certificate and a ‘Save Certificate’ prompt appears, it is quickly replaced by a ‘File Corrupted’ message. Not sure if I have missed a step.

  78. February 19th, 2009 at 19:51 | #78

    @Sajjad:
    The error ‘File Corrupted’ has most likely to do with the certificate itself. The enties in the subject field might be acting up. I’ve seen this before (like 3 or 4 CN entries in the subject field).

    Any chance you can give me the URL of the certificate you uploaded (or mail me the certificate)?

  79. Sajjad
    February 20th, 2009 at 09:35 | #79

    Thanks for your response. I can see there are 3 lines in the subject field. The file is http://symcaimport.redelijkheid.com/ca/cf8eavp2.der

  80. February 20th, 2009 at 09:55 | #80

    @Sajjad:
    Your signature is sha512RSA. That’s the only real difference I can find with other CA’s. It’s possible that the phone doesn’t support that hashing algorithm.
    Are you able to recreate your CA (or create a temp CA) and use SHA1 as a signature algorithm, and try to import that one?

  81. Sajjad
    February 23rd, 2009 at 12:47 | #81

    Thanks Willem. I’m told that re-creating the CA will break the exchange server it supports so it’s not something I can test.

  82. TothLac
    February 24th, 2009 at 17:18 | #82

    Hi Guys,

    I hope someone can help me. We’re in the middle of an Exchange 2007 implemetation. Everything works like a charm except ActivSync on my Nokia E65 (iPhone, Windows Mobile devices, Nokie E51 are working).
    The problem is the following:
    We have a Certificate Authority and a Subordinate CA. The certificate for Exchange was issued by our SubCA. When I try to Sync my mailbox on a Nokia E65, I recive the following warning:
    “This site has sent an untrusted certificate. Continue anyway?” (If I select Continue then it syncs).
    Exchange ActiveSync is published with ISA 2006.
    The Listener certificate on the ISA server and the Exchange certificate is the same. I’ve already installed the RootCA, the SubCA and the issued certificate (what Exchange and ISA uses) on the phone. Still the same.
    What could be wrong? The published URL on the ISA is webmail.mycompany.com, the internal URL where the requests are redirected by the ISA server is casnlb.intra.mycompany.com. Could that be a problem, that the external and the internal URL isn’t the same so the phone can’t trust the certificate? If that’s the case, what can I do?

    Thanks in advance,
    Laci

  83. February 24th, 2009 at 18:55 | #83

    @Laci:
    it seems that the steps you followed are correct. In theory, you only need to add the Root CA. The subCA (or intermediate CA) should not be necessary, but it can’t hurt.
    It’s probably a naming issue. In the certificate you use, there’s a subject field with a (or more) CN values. The CN (common name) value needs to be the same as the hostname in the URL you use to access the website.
    In your case: If you connect from the Internet through the ISA server, the certificate on the ISA server should contain a CN=webmail.company.com in the subject field.
    I suspect that the actual CN is casnlb.intra.mycompany.com.

    There are several ways of resolving this;
    1) issue a new certificate for the ISA server listener with the correct common name, or
    2) you can use the subjectAltName field in a certificate to specify alternative names for the certificate (the CN could remain casnlb.etc, while the subjectAltName is webmail.mycompany.com)
    Either way, you need to re-issue a certificate with the correct information (if my assumptions are correct).

  84. Laci
    February 24th, 2009 at 20:02 | #84

    Hi Willem,

    I don’t think this is a naming issue. The certificate is a SAN cert with a lot of subject alternative names. The CN of the issued certificate is webmail.mycompany.com. (This CN is the same as the URL we use to access the website externally)
    The following entries are also inculded in the SAN certificate:
    casnlb (WNLB NETBIOS name)
    casnlb.intra.mycompany.com
    imap.mycompany.com,etc.

    Sorry! I’ve forgotten to mention in my previous post that we use Unified Communication (SAN) certificates.

    Waiting for you answer!

    Thanks in advance,
    Regards,
    Laci

  85. JohnnyB
    February 27th, 2009 at 11:59 | #85

    Well following on from my previous post just over a month ago i have got no futher. The admins at my site presented me with 2 certificates to try. One was the CA authority certificate the other was distributed on all wireless devices to authenticate on the network.

    I can install the CA cert on my phone by simply copying it to my phone and opening it up howevere i am still unable to authenticate with this. The other certficate i believe is the one i require for authentication however when i try and install that to my phone i get error “unable to open file : type not supported.

    Very frustrating, i regret not getting a windows mobile based device as my iPAQ has no issues connecting at all.

  86. February 27th, 2009 at 12:12 | #86

    @JohnnyB: can you mail me the specific CA certificates?
    (willem at redelijkheid dot com)

  87. Kai
    February 28th, 2009 at 23:17 | #87

    hi…

    Im using your tool and i have an e71. My Problem is, that the file is obviously corruct. Datei fehlerhaft in German. I dunno what wrong… I exported the cer file in my vista computer as DER… renamed it and all this… it didnt work. Im using the nokia browser. what can i do…

  88. Kai
    March 1st, 2009 at 14:22 | #88

    Hi…

    I checked my certificate as I wrote you. CN=name.com are exactly the same in (colloquially translated) “created from” AND in “created for”. So it says that the certificate is made by me for myself. Is that what the Nokia Mobile has Problems with?

    cheers

  89. JohnnyB
    March 6th, 2009 at 14:08 | #89

    @ Willem: did you recieve the mail + cert i sent. Have you any ideas where i may be going wrong ?

    • March 6th, 2009 at 15:41 | #90

      Hello Johnny,

      the only (strange) thing I found is the serial number of your certificate. If I compare your cert with mine yours shows the following:

      openssl x509 -noout -text -inform DER -in kiwi.cer

      Certificate:
      Data:
      Version: 3 (0×2)
      Serial Number:
      (Negative)15:ba:0c:b0:0f:c0:e6:74:b1:62:be:b6:3d:96:b5:37
      Signature Algorithm: sha1WithRSA
      [snip]

      Mine:
      openssl x509 -noout -text -inform DER -in redel.cer

      Certificate:
      Data:
      Version: 3 (0×2)
      Serial Number:
      46:ca:12:8c:7a:8a:fd:bf:46:97:7f:8c:2a:34:5f:0a
      Signature Algorithm: sha1WithRSAEncryption
      [snip]

      This is the only strange thing I found. What did you use to generate the certificate? Is it possible to create a new certificate and try that one?

      • JohnnyB
        March 6th, 2009 at 16:40 | #91

        yeah - i get the same result running that command in openssl. As i said previously the certificate appears to work fine on both my laptop and iPAQ PDA it would just have been great to ditch my PDA for my cell. As for generating a new one i doubt for a minute i have rights to access such utilities or even know how to do it.

        Thanks for trying anyway, i think i must just admit defeat on this one.

  90. Alex Burn
    April 16th, 2009 at 16:54 | #92

    Hi,
    I used ‘mmc’ with the certificates snap-in to export my certificate in DER format.
    The certificate has just one CN as advised above.
    I uploaded via your tool and then pointed my Nokia N95 to the correct URL.
    However, I receive the error stating file corrupt.
    I tested the same URL on Internet Explorer and the certificate adds ok.
    Any suggestions?
    I am trying to obtain the correct certificate to use M4E on my Symbian N95 (currently have to click ok on the untrusted certificate screen).

  91. April 17th, 2009 at 10:22 | #93

    @Alex Burn
    Can you mail me the URL you got back from the SymCAImport webpage?
    I want to check the CN (among other things).

  92. Deemas
    May 17th, 2009 at 16:18 | #94

    Thanks Willem, it works for me in this way.

    One have Exchange 2007 with godaddy’s UCC certificate installed. Everything was working except our mobiles mainly Nokia, always poping up with untrusted certificate as everyone suffer here.

    i followed the way With the tool William has created(which is mail.ourdomain.com as common name and autodiscovery.ourdomain.com, ourexchangeservername, ourexchange.ourdomain.local). But it did not work. finally i did the same for intermediate certificates too. in my case i found there were two intermediate certificate in our server for godaddy. i did the same tool to create both of the certificate and it is working fine now.

    this test i did on N73 mobile. I have other models like E65 and some other i will test all these and imform the same to the this community soon.

    Thanks, Thanks for your valuable tool

  93. Surtur
    May 18th, 2009 at 14:31 | #95

    Hi Willem, i have the same problem as Sajjad. I have a Nokia E71? As it downloads the certificate and a ‘Save Certificate’ prompt appears, it is quickly replaced by a ‘File Corrupted’ message.

    Can you take a look at my certifikate-link?
    http://symcaimport.redelijkheid.com/ca/x6q2wpfd.der

    Thanks a lot!

  94. Michael
    June 9th, 2009 at 03:56 | #96

    Hi Willem,

    When I try to upload the file on http://www.redelijkheid.com/symcaimport/ on the phone browser a message appears that says “File Restricted” and it won’t let me upload. I am on a Nokia E71x. I have tried to upload the certificate from it being sent over email, but it states file corrupted. I have tried to open it from the phone but it states it cannot open…

    I called Nokia and I have to teach them what little I know about certs…

    I have uploaded it on your site from my computer you can see the certificate here:
    http://www.redelijkheid.com/symcaimport/ca/a8f52faf.der

    IT guys at work say get a new phone, but I am stuck with this one… Should I call it a waste of $100 (and about 3 of my valuable days)?? Any help would be great.
    Thanks!

  95. June 9th, 2009 at 12:42 | #97

    @Michael
    No idea what the problem is, but even the ‘old’ service is giving me ‘file corrupt’ errors at this moment on every certificate I try.
    The old service hasn’t changed (apart from the redirection)… weird.

    If someone can install a certificate, please leave a comment.
    In the mean time… I will do some investigative actions.

    Update: seems that a reboot of the phone solved my problem. Just uploaded a DER encoded certificate and it installed perfectly.

  96. March 6th, 2009 at 17:43 | #98

    Google has some results on negative serial numbers in certificates.
    It seems that a negative serial might cause problems.

  1. No trackbacks yet.