Jan
26
Secure M-Business Anywhere Sync Server
January 26, 2006 | Leave a Comment
To enable SSL on sync server on Linux, you need to run the utility avantgoserver/openssl/bin/reqcert.sh to generate a cert request. VeriSign then issues a cert per request. You put three certs in a single file in this directory avantgoserver/conf in the right order. Remember that the order is very important as it won’t work if the order is incorrect.
SSLLoadLocalIdentity: Public/Private keys don't match!
createMasterContext: SSLLoadLocalIdentity returned -6981
(2156) error: Security Error: There was an error loading your RSA certificate: SSLBadParameterErr (-6981)
The order of various certificates in the final cert file:
—–BEGIN CERTIFICATE—–
VeriSign Intermediate CA Certificate
—–END CERTIFICATE—–
—–BEGIN CERTIFICATE—–
VeriSign Signed Certificate
—–END CERTIFICATE—–
—–BEGIN CERTIFICATE—–
Your Private Certificate
—–END CERTIFICATE—–
Apr
8
Binary File Distribution in Mobile Apps
April 8, 2005 | 39 Comments
iAnywhere’s M-Business Server has a great feature to allow you to distribute binary files to mobile devices such as PocketPC, Palm and Symbian smartphones. This means that you can have a centralized upgrade management function, which is very useful to enterprise mobile applications.
Checkout ianywhere.com/developer for latest document on how to set binary file distribution up. By default. all binary files will be placed in the AvantGo\pods directory on the device. But if you want files to be copied to other locations. There are two easy ways to do it:
If you have only one or two files, the easiest way to do it in M-Bus server is to use meta tag to specify a location to copy a specific binary files, such as this example: <meta name=”x-avantgo-download-location” content=”mysample.exe,%AG_STARTMENU%”> , where %AG_STARTMENU% translates to Windows\Programs on PocketPC. Note that you still need to specify the link in your html body <a
href=”mysample.exe”></a>
The second method is to boundle a lot of files in a CAB file and distribute it through M-Business Server. M-Business client will automatically launch the CAB file once it is downloaded to your device. By the way, you can use the Cab Wizward tool (cabwiz.exe) in Visual Studio 2003 to create CAB files. Here is a tutorial on creating cab files.
Blogroll
- Alex
- Carthik
- Donncha
- Dougal
- Ken Norton
- Matt
- Michel
- Mike
- Mobile Blog
- Ryan
- Smart Mobs - Tech Culture
- Tech Memeorandum - on tech
- VC Journal - VC Journal