I'm not certain what you mean by ip solution.
I've used this:
var rootURL:String=mx.core.Application.application.url.substr(0,mx.core.Application.application.url.indexOf("/",8));
var expir:int=1440;
var param:Object={"request":"gettoken","username":username, "password": password, "clientid":"ref."+rootURL,"expiration":expir}
I do get a token back, but it's invalid. I get warnings from flashbuilder on my mx.core.Application as well.
I wonder if it is 10.1. This current project does not really need to be secure, but I want to get this right so I can secure projects that require security. Am I losing the security by not passing the clientID and expiration? I have time limits set on tokens on the server side. I did not use tokens before 10.1 so I'm not certain what settings have changed.
Thank you for your info on SSL certificates. It's what I had assumed, but it was nice to know I wasn't assuming wrong!