Bypassing SSL Web Services During Development

When integrating with a web service that requires ssl, I find it helpful to write code to use a non-ssl web service. This will ensure that you can debug your code without worrying about ssl certificate issues and such. I use Socat to establish the ssl connection and then point my code at the local port serving normal http.

Install Socat (a network relay utility) available at http://freshmeat.net/projects/socat/

Establish the SSL connection:

Use localhost:9090 as the web service URL during development / testing.

Be sure to get your code working with the real ssl enabled web service prior to deploying the app in production.