SSH add certificate? - General Questions and Answers

I am trying to connect and perform FTP/SSH from my WM (custom ROM) to iPod (jailbroken).
The tools I use is PocketPutty (for SSH) and Resco FTP (add in to the Explorer). The other tool is MobileFTPClient. When SSH connected, it prompted that the certificate is not recognized and requires user to accept. Once accepted, it works ok.
When using Resco, it says secure connection is not established. My guess is that certificate issue. However, it has no option to add the cert. Same with MobileFTPClient, it just give cert error too.
Question: how do I add this iPod's cert into the WM so that the FTP using Resco can work? I have the hex value.

Related

trust a certificate

hello ppl,
does anyone know hot to make WM6 trust a certain root CA/certificate? I have a Commodo SSL certificate on my exchange server and because WM6 doesn't trust it (for some reason), I cannot use Push Mail.
installing the certificate doesn't help.
Does the Root Certificate appear in Settings/Certificates/Root?
Has the Root Certificate been installed on the device OK? i.e. does it appear in Settings/Certificates/Root? If it does that should be enough for your device to trust it and certificates issued by the same CA.
I have two root certificates installed on my WM6 device (over the default ones) -one for push email and the other for Wireless (I also have a client certificate for wireless since we use EAP-TLS for Wireless Authentication). The one for push email was installed via a .cab file, the other automatically installed when I enrolled for the client certificate from an AD-integrated CA via ActiveSync.
Some info here for creating a .cab file for your root certificate:
http://www.amset.info/pocketpc/certificates3.asp
HTH
Andy
when I install the certificate it appears as an intermediate CA.
am I installing the wrong certificate?

ActiveSync 4.5 does not support database synchronization

I need to synchronize my Touch Cruise with Microsoft Access on my PC desktop but who develops database (SprintDB, f.e.) writes me:
"there is no way to synchronize database files on Windows Mobile 6 because Microsoft ActiveSync 4.5 does not support database sync"
It is unbelievable, my old pda with Palm OS (no Windows!) was more compatible with Microsoft that this one with Windows Mobile create by microsoft ????
There is some experienced that can help me to resolve this problem?
There's no Pocket Access, so what's the point in syncing it?
Unfortunately with the version 6 of Windows Mobile and 4,5 of Active Sync have disappeared Pocket Access what it converted the files .mdb in to .cdb
ActiveSync 4.1 (or maybe it was 4.0) supports database sync with WM2003. However, WM6 does not have the proper conduits, in fact no version has since WM2003. WM5 can be been hacked to support database syncing. So I assume WM6 can be too. I don't know this alone will do it, you may then have to hack ActiveSync 4.5 to include (if they are indeed excluded) whatever database conduits ActiveSync 4.1 and before have.
These instructions may apply to WM6 also. (Original thread can be found here: http://www.tierramapper.com/forum/viewtopic.php?t=10)
The following steps will enable Windows Mobile 5 devices using Active Sync 4.x to create Pocket Access (.cdb) databases by copying and pasting a PC Access database to an Active Sync connected Pocket PC device.
Microsoft, by default dropped this functionality when upgrading from PPC 2003 to Windows Mobile 5.0. The following will re-enable this feature.
*This procedure is only required for Windows Mobile 5.0 users.
1. Copy the 4 files in the http://www.TierraMapper.com/Downloads/WindowsMobile5PocketAccess.zip file to your Pocket PC in the \Windows directory.
2. Register the adosync.dll. From your Pocket PC, open File Explorer and navigate the \Windows\Regsvrce.exe file. Click on this file and type the full path to the adosync.dll, \Windows\adosync.dll, and click OK.
3. On the desktop, remove the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\SpecialDefaults\PocketPC04\Services\Synchronization\Objects\~MicrosoftTable
4. Disconnect and reconnect the PPC device before "Pocket Access" sync enabled.
You are now ready to copy an Access database to your Pocket PC and Active Sync will prompt you with the Pocket Access (.cdb) conversion dialog as in PPC 2003.
Click to expand...
Click to collapse
it's problematic when there are so many stronger database applications than Pocket Access such as Borland...
Possibility
Could this be a similar issue for me?
http://forum.xda-developers.com/showthread.php?t=396536&goto=newpost
Thank you.
Thank's Sonus but you write:
"3. On the desktop, remove the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\SpecialDefaults\PocketPC04\Services\Synch ronization\Objects\~MicrosoftTable "
but regretfully the key ~MicrosoftTable doesn't exist in my registries. I only find:
~Appointment
~Contact
~Merlin Mail
~Task
Media
Do I perhaps have to add it instead of removing it?
I have read the forum to the link tierramapper and TierraMa talk only about WM 5. I have WM6 instead.
gianluigicz3 said:
Thank's Sonus but you write:
"3. On the desktop, remove the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services\SpecialDefaults\PocketPC04\Services\Synch ronization\Objects\~MicrosoftTable "
but regretfully the key ~MicrosoftTable doesn't exist in my registries. I only find:
~Appointment
~Contact
~Merlin Mail
~Task
Media
Do I perhaps have to add it instead of removing it?
I have read the forum to the link tierramapper and TierraMa talk only about WM 5. I have WM6 instead.
Click to expand...
Click to collapse
Hmmm, that's interesting. I have the ~MicrosoftTable entry in my PC's registry. Don't create the entry though. Instead try following steps 1 and 2, make sure that the "Convert files when synchronized, copied, or moved" box is checked in ActiveSync "Tools>Advanced Tools>Edit File Conversion Settings..." and then copy an MS Access database file (*.mdb file) to your Touch Cruise using activesync. Report back to us as to whether or not you then get prompted to setup a database sync.
sonus said:
.........try following steps 1 and 2, make sure that the "Convert files when synchronized, copied, or moved" box is checked in ActiveSync "Tools>Advanced Tools>Edit File Conversion Settings..." and then copy an MS Access database file (*.mdb file) to your Touch Cruise using activesync. Report back to us as to whether or not you then get prompted to setup a database sync.
Click to expand...
Click to collapse
In order:
1. I have performed the points 1 and 2 correctly on device;
2. i have just flagged the "convert files" in "acive sync 4.5 build 5096;
3. in tools of Active Sync, for "microsoft Office Access Application" in the setting folder "conversione from PC to device" i see: type of file of PC = .mdb, type of file of device = .mdb (i try to modify in .cdb but it is no possible!);
4. with right click in setting icon "file" in Active Sync i added a sample of .mdb file microsoft access 2000/2003;
5. i can see this file in folder "C:\Documents and Settings\battocch\My Documents\HTC_P3650 My Documents\" on my desktop PC with XP;
6. i syncronize PC and device;
7. after syncronisation i see again the file .mdb in personal folder of PC but there is not anything in the device.
I try even to reinstall Active Sync but nothung it is changed.
Step 3 is the issue. Earlier versions of ActiveSync would allow for a conversion of mdb to cdb when copying database files. This would then allow for a sync relationship. My guess would be to try an earlier version of ActiveSync (4.1 or earlier)...
I haven't used it but Handbase appears to sync with access:
http://www.ddhsoftware.com/handbase.html
gianluigicz3 said:
I need to synchronize my Touch Cruise with Microsoft Access on my PC desktop but who develops database (SprintDB, f.e.) writes me:
"there is no way to synchronize database files on Windows Mobile 6 because Microsoft ActiveSync 4.5 does not support database sync"
It is unbelievable, my old pda with Palm OS (no Windows!) was more compatible with Microsoft that this one with Windows Mobile create by microsoft ????
There is some experienced that can help me to resolve this problem?
Click to expand...
Click to collapse

Exchange Server Help - Activesync Error 0x85010004

My company standard for pda's is the crackberry. However, I was able to connect to our exchange server with my ATT Tilt. I believe that our IT dept has now enabled some security feature that will not allow my phone to connect to the server anymore.
Using WM 6.1
Any ideas?
it sounds like the server cert is invalid. you can get more information on the error using activesync to set up the server source.
anyway, your it geeks must give you a copy of the server cert (.cer file). They can export it, and you can use activesync to put it onto your device
Thanks for the help. They've now established a "pilot" program for WM6, so I don't know if they'll actually give me a copy of the server cert. I was able to copy the cert that was assigned to my PC and install it on my device, but still no dice. It was installed as an Intermediate and not a root. I don't know if that makes a difference or how/if it can be changed if it does.
Im not sure either. It would take the it geeks about 30 seconds to generate the .cer file. I had the same problem as you, so I exported the certificate from my server, stuck it onto my htc cruise using activesync, then using file explorer, navigated to the .cer file, clicked on it, and it worked.
The certificate I exported was the exact on that was imported to iis.
thanks again.
For some reason the cert from the server is not working. Could you check to see if yours was installed as a root or an intermediate when you get a chance?
This is going to be a HUGE bummer if I have to get a crackberry.
to get the cert:
1) on the server where iis is running, run mmc
2) add the certificate snap-in referencing the local computer.
3) navigate to Personal or Trusted Root certificates (depending if your cert is self-signed or from a CA), find the cert that was used for the iis web service that is running OTA, right click on it, then select export (.der format will be ok).
4) have the it geeks give this file to you.
5) using activesync, move it to you device.
6) using file explorer on the device, navigate to where the .cer file is, then click on it.
7) thats it.
Step 4 is the problem. I don't think I'll get the cert from IT because I'm not part of the pilot program. This was a recent change that required certificates to crack down on renegades like me.
I guess I'll have to wait until they roll out the corporate wide program.
Oh well, Crackberry here I come.
Thanks again for the info.
Does anyone know how an exchange serve tells the difference between remote access from a desktop and remote access from a handheld?
The address is really different. webmail is at www.yourdomain.com/exchange, which over the air activesync is www.yourdomain.com/?something? (im not sure exactly). The ppc activesync program knows what to append to the end of your url to activate the correct application pool on the server.

Files from Windows 7 to HTC Desire via WLAN?

I'm looking for some combination of software to transfer mp4 files over to my home as simple as possible. Right now I'm looking into 2 Apache servers on the phone itself.
Is there a better solution? Maybe some software that can read directly from a Win7 shared drive? Or even a good FTP client?
For transfer of single files, I allready have an apache server running on my laptop. I have AutoHotKey set up to automagically display QRCode for the url for a file I select in Windows Explorer.
For transfering more, I usually just use the USB cabel
I use swiftftp on my phone and use FileZilla on my pc to transfer
Estrongs file explorer can mount windows smb shares directly from the phone, with the user name and password, of a valid user that has access to the shared volumes.
Tested in win7 ultimate 64bit and vista with an htc desire.
You can't use the pc's netbios name to access the shares, instead you need to use its IP address in the estrongs dialog.
I have an stream portal running on my computer. Jinzora. But when I clicked on the download in Inbuild browser. Nothing happened. I tried with Opera Mini then and it opened a download but it never started to transfer. So I have to try to run apache on the phone itself.
adcore said:
Estrongs file explorer can mount windows smb shares directly from the phone, with the user name and password, of a valid user that has access to the shared volumes.
Tested in win7 ultimate 64bit and vista with an htc desire.
You can't use the pc's netbios name to access the shares, instead you need to use its IP address in the estrongs dialog.
Click to expand...
Click to collapse
Will try that to but I'm not sure what smb shares are. Are this normal shares when you click right click on a drive and share with advanced settings?
I dont have any users set. Just Everyone under premissions.
I actually always had problems to setup shares since Vista and upwards. Funny in XP they worked fine. Not parcticually with Win-Phone, but WInXP-WinXP.
thanks ... Estronge file explorer is excellent... works like a charm...
Yes this Estrong file explorer sees my both computer just fine. But When I try to connect it asks for a password and username. I never set any of this. Dont even know where to set it up.
Balos said:
Yes this Estrong file explorer sees my both computer just fine. But When I try to connect it asks for a password and username. I never set any of this. Dont even know where to set it up.
Click to expand...
Click to collapse
It's a bit beyond the scope of this forum, but to create a new user or modify an existing one :
Open control panel and click user accounts, if there is a user already in the system (most likely there is), just create a password for him.
Logging through the network with the above credentials will give you access to the users home folder (C:\users\"username" without the quotes) by default.

astro SMB module

Hello guys,
Do you think you could help: I was trying to use astro SMB module - but no luck. What I did:
1. open ASTRO -> Network -> New -> Windows server
2. I entered following:
: Label: Transfer
: Server: 192.168.1.12 (also tried "windows name")
: Share: transfer
When I click "TEST" I get the message: "Server not found".
Details button opens message: "jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password
Server is Windows XP proff - and other PC's are connecting to the "share" without username/passwords (use simple file sharing).
I am trying to connect using my network's WiFi.
Any advice would be appreciated.
Thank you
I have not figured how to use this module in a Windows environment either. One thing I noticed comparing it to the OP is that I do not have a ASTRO -> Network -> New -> Windows server option. Instead of Windows server I only see SFTP, SMB and Bluetooth options.
Is anyone using Astro to browse Windows shares?... If so, can you outline the steps you took to get it to work? Maybe this requires a Samba client in the Windows host? I'm using the latest version available in the Market using a Samsung Captivate.
tamanaco said:
I have not figured how to use this module in a Windows environment either. One thing I noticed comparing it to the OP is that I do not have a ASTRO -> Network -> New -> Windows server option. Instead of Windows server I only see SFTP, SMB and Bluetooth options.
Is anyone using Astro to browse Windows shares?... If so, can you outline the steps you took to get it to work? Maybe this requires a Samba client in the Windows host? I'm using the latest version available in the Market using a Samsung Captivate.
Click to expand...
Click to collapse
Hi,
i've like you sftp and smb but it gives to me the same error than tazbo.
Can you tell me what is the right configuration?
SMB, you must enter the username and password of the account with which you log into the Windows machine. The IP address goes in the Server field. No need for a Domain unless you are on a corporate net with domain controller.
It works just perfectly for me, but the machines I connect to require that I log in (Windows login).
I've used this to connect to my Ubuntu file server in my house. While I didn't have to enter a username on the windows boxes that connect to the server, I did have to use "guest" as a username with an empty password field.
Good Luck!
ByteWrencher
DIAM500 Froyo 2.2 XDANDROID.19.8.10
ByteWrencher said:
I've used this to connect to my Ubuntu file server in my house. While I didn't have to enter a username on the windows boxes that connect to the server, I did have to use "guest" as a username with an empty password field.
Good Luck!
ByteWrencher
DIAM500 Froyo 2.2 XDANDROID.19.8.10
Click to expand...
Click to collapse
Thanks buddy.. i wasn't able to connect to the network earlier. But using 'Guest' as username with empty password field, worked!!
Glad to be of service!
ByteWrencher
DIAM500 Froyo 2.2 XDANDROID.19.8.10
Just wanted to throw a Thanks out there also.
I've been knocking my head against the wall trying to figure out this SMB thing and with the suggestion of using Guest I was finally able to connect to ALL of my shares from my phone.
So again, thanks
Please give a link of the module, i cant find it in the market
try hete http
proximo.homeip.net/Android_APK/
ByteWrencher said:
I've used this to connect to my Ubuntu file server in my house. While I didn't have to enter a username on the windows boxes that connect to the server, I did have to use "guest" as a username with an empty password field.
Good Luck!
ByteWrencher
DIAM500 Froyo 2.2 XDANDROID.19.8.10
Click to expand...
Click to collapse
this is what must be done to use your regular xp user name and password -
1. open windows control panel
2. double click on administrative tools
3. double click on local security policy
4. hi-light security options
5. double click on network access:sharing and security model for local accounts
6. change to classic - local users authenticate as themselves
Thx a bunch, feinmark
I followed those steps you posted, but I still kept getting the same error
These are my setup
===========================================
Server: XXX.XX.XXX.XX (MY computer IP, not my router IP )
Label: Transfer
Share: 'Empty'
Domain: 'Empty'
Directory: 'Empty'
Username: 'my user name'
Passcode: 'Empty' b/c I do not have one for my comp
=============================================
This is the message I still get........
jcifs.smb.SmbException: Failed
to connect:
0.0.0.0<00>/XXX.XX.XXX.XX <- my computer IP
jcifs.util.transport.
TransportException
java.net.ConnectionException:
/XXX.XX.XXX.XX:139 -
connection refused
Can someone please help me :O.....
Disable windows firewall.
If you use win7, make sure your in your network as: 'HOME network' and not as 'PUBLIC'.
Thus fixed it for me..
GL

Categories

Resources