Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Oct 2012
#1
I have community ssu version: 21.2011.38-1 on my N900.

When I try, to set up an MfE Account, ""Exchange server requires secure connection or account is disabled"" shows up.

I tried to install the certificates myself.

I think its a cert problem.

Can anyone give me a hint?
 
Community Council | Posts: 677 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#2
YOu might need to upgrade libcurl.
If you use apt-gett, it's as easy as ruuuunning as root the following
Code:
apt-get install libcurl3
Originally Posted by chick0n View Post
I have community ssu version: 21.2011.38-1 on my N900.

When I try, to set up an MfE Account, ""Exchange server requires secure connection or account is disabled"" shows up.

I tried to install the certificates myself.

I think its a cert problem.

Can anyone give me a hint?

Last edited by sicelo; 2012-10-01 at 20:16. Reason: package name correction
 
Posts: 3 | Thanked: 0 times | Joined on Oct 2012
#3
Thanks for your reply, but:
Nokia-N900:~# apt-get install libcurl
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libcurl


I logged the authentication process now with syslog:


ASDAEMON-DBUS: Got a request to start check user info
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AsLogSettings(): password: (0x12345)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AsLogSettings(): server: (0, server.org)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AsLogSettings(): port: (0, 443)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AsLogSettings(): secure connection: (0, 1)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: SyncScheduler:ostCheckCredentials
Oct 1 20:42:41 Nokia-N900 activesync[2015]: void CurlConnectionManager::reloadSettings()
Oct 1 20:42:41 Nokia-N900 activesync[2015]: get CfgConnExchangeServer err=0, value=server.org
Oct 1 20:42:41 Nokia-N900 activesync[2015]: get CfgConnPort err=0, value=443
Oct 1 20:42:41 Nokia-N900 activesync[2015]: get CfgConnSecureConnection err=0, value=1
Oct 1 20:42:41 Nokia-N900 activesync[2015]: get CfgCredUsername err=0, value=myname
Oct 1 20:42:41 Nokia-N900 activesync[2015]: get CfgCredEncryptedPassword err=0
Oct 1 20:42:41 Nokia-N900 activesync[2015]: get CfgCredDomain err=0, value=
Oct 1 20:42:41 Nokia-N900 activesync[2015]: get CfgUriPath err=0, value=/Microsoft-Server-ActiveSync
Oct 1 20:42:41 Nokia-N900 activesync[2015]: mCertdir='/etc/certs/common-ca:/home/user/.maemosec-certs/ssl-ca'
Oct 1 20:42:41 Nokia-N900 activesync[2015]: void CurlConnectionManager::setConnectionData(const QString&, int, bool, const QString&, const QString&, const QString&, unsigned int, unsigned int, unsigned int)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: Certificates: loading certificate exception from /apps/activesync/ActiveSyncAccount1/certex ...
Oct 1 20:42:41 Nokia-N900 [1907]: activesync: as_server_handle_next(): dbus: [0]
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-QUEUE: All 0 actions canceled with code 1
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-QUEUE: Start action processing (current state=1)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: SyncScheduler::add mCurrentSchedule=-1 aPririty=3
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON: ICListener IAPs count = 1
Oct 1 20:42:41 Nokia-N900 activesync[2015]: SyncScheduler::add pass to executor imediatelly.
Oct 1 20:42:41 Nokia-N900 activesync[2015]: SyncScheduler:ostCheckCredentials end, result=1
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-QUEUE: Got some action. Start processing
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-QUEUE: Execute action (state=2, 1 queued actions)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AS-LIB: Connection has been received
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AS-LIB: Sending OPTIONS request...
Oct 1 20:42:41 Nokia-N900 activesync[2015]: CurlConnectionManager: sendReceive: enter
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON: ICListener IAPs count = 1
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON: ICListener proxyHost: usessl = 1, proxy_host = (null)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: HTTP REQUEST: OPTIONS https://server.org/Microsoft-Server-ActiveSync
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-CONN: startSession start, aWait=30 seconds
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-CONN: CURL-CONN-CALLBACK: Action=2
Oct 1 20:42:41 Nokia-N900 activesync[2015]: CurlConnectionManager: sslctxfun callback enter
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-CONN: CURL-CONN-CALLBACK: Action=1
Oct 1 20:42:41 Nokia-N900 activesync[2015]: Certificates: cert_verify_callback
Oct 1 20:42:41 Nokia-N900 activesync[2015]: Certificates: ok = 1, cert = 0x1e1b70, err = 0
Oct 1 20:42:41 Nokia-N900 [1907]: activesync: as_server_on_user_info_result(1)
Oct 1 20:42:41 Nokia-N900 [1907]: activesync: as_server_on_user_info_result(): state: [1]
Oct 1 20:42:41 Nokia-N900 [1907]: activesync: as_server_on_user_info_result() end
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-CONN: CURL-CONN-CALLBACK: Action=4
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON-CONN: startSession end, ret=51
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AS-PERF: Transfered 0 bytes in 0 seconds. Transfer rate is 0 Kb/sec
Oct 1 20:42:41 Nokia-N900 activesync[2015]: CurlConnectionManager: sendReceive attempt 1: CancelErr=0
Oct 1 20:42:41 Nokia-N900 activesync[2015]: CurlConnectionManager: cURL errorcode = 51, SSL peer certificate or SSH remote key was not OK
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AS-LIB: OPTIONS response received (888)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AS-LIB: Received HTTP response 888. Factory not created
Oct 1 20:42:41 Nokia-N900 activesync[2015]: ASDAEMON: CREATION: ActionFactory NOT! created. Error 888
Oct 1 20:42:41 Nokia-N900 activesync[2015]: UiNotifier::showInfoBanner aId=13
Oct 1 20:42:41 Nokia-N900 activesync[2015]: UiNotifier::showInfoBanner aText=Fehler: Entweder benötigt der Exchange-Server eine sichere Verbindung, oder das Konto ist deaktiviert.
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AsStatusManager::handleConnectionFailed(1, 0, 888)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AsStatusManager::handleSyncCompleted(1, 888)
Oct 1 20:42:41 Nokia-N900 activesync[2015]: AsStatusManager::handleSyncFailed(1, 0, 13)
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: systemmonitor.cpp Line 148, static void AsSystemMonitor::statusListener(AsSystemMonitor*): AsSystemMonitor::statusListener() begin
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: systemmonitor.cpp Line 178, void AsSystemMonitor::updateLastEvent(): AsSystemMonitor::updateLastEvent(): disabled
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: AsStatusIndicator::updateState(): Off
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: systemmonitor.cpp Line 156, static void AsSystemMonitor::statusListener(AsSystemMonitor*): AsSystemMonitor::statusListener() end
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: systemmonitor.cpp Line 148, static void AsSystemMonitor::statusListener(AsSystemMonitor*): AsSystemMonitor::statusListener() begin
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: systemmonitor.cpp Line 178, void AsSystemMonitor::updateLastEvent(): AsSystemMonitor::updateLastEvent(): disabled
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: AsStatusIndicator::updateState(): Off
Oct 1 20:42:42 Nokia-N900 [1307]: activesync: systemmonitor.cpp Line 156, static void AsSystemMonitor::statusListener(AsSystemMonitor*): AsSystemMonitor::statusListener() end
Oct 1 20:42:42 Nokia-N900 activesync[2015]: ASDAEMON: CREATION: cancel all pending actions
Oct 1 20:42:42 Nokia-N900 activesync[2015]: ASDAEMON-CONN: No connection to cancel
Oct 1 20:42:42 Nokia-N900 activesync[2015]: ASDAEMON-QUEUE: All 1 actions canceled with code 888
Oct 1 20:42:42 Nokia-N900 activesync[2015]: ActionWarpper - action canceled with result 888
Oct 1 20:42:42 Nokia-N900 activesync[2015]: SyncScheduler::checkCredentialsComplete aStatus=888
Oct 1 20:42:42 Nokia-N900 [1907]: activesync: as_server_on_user_info_result(1)
Oct 1 20:42:42 Nokia-N900 [1907]: activesync: as_server_on_user_info_result(): state: [4]
Oct 1 20:42:42 Nokia-N900 [1907]: activesync: as_server_on_user_info_result() end
Oct 1 20:42:42 Nokia-N900 activesync[2015]: UiNotifier::showInfoBanner aId=13
Oct 1 20:42:42 Nokia-N900 activesync[2015]: UiNotifier::showInfoBanner aText=Fehler: Entweder benötigt der Exchange-Server eine sichere Verbindung, oder das Konto ist deaktiviert.
Oct 1 20:42:42 Nokia-N900 activesync[2015]: ASDAEMON-QUEUE: ActionQueueExecutor::handleError(3, 888) done
Oct 1 20:42:42 Nokia-N900 activesync[2015]: ASDAEMON-QUEUE: Action is completed, state=1, 0 actions are queued


So, I went to:
https://server.org/Microsoft-Server-ActiveSync

And it says: HTTP/1.1 501 Not Implemented

Is this the problem?
 
Community Council | Posts: 677 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#4
sorry, it should be 'libcurl3'
i've edited my post
 
Posts: 3 | Thanked: 0 times | Joined on Oct 2012
#5
yeah, libcurl3 is up to date.

I think the problem is, that activesynch is not supported on the server. so I have to stick with pop3.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:14.