Hi everybody,

I'm having some troubles to make a secure connection.
This is how i prepare secure connection:

iTlsSocket = CSecureSocket::NewL(iSocket,_L("TLS1.0"));
I'm using ActiveObject.

On emulator it works, but when a i try to connect to a server in a real device, RunL method return error -46 (KErrPermissionDenied).
When i'm trying to connect to the same server manually via Symbian Web Explorer it ask me about starting the secure connection, and then it connects.

i was be able to connect to my own local web server via WIFI installing self-signed server certificate on device. It says that cerficate isn't secure but it lets me go ahead.
However when i try to connect to a real secure server this code fails with error -46.

am i missing something?
I'm testing with Nokia C7-00.
i tested this code a year ago on S60 3rd Edition device and i don't remembee have this problem.
do i have to make changes to get this work on Symbian^3 devices?

Any idea?