I have been using this code for about 1 year now and there have been no problems. It works like a charm when I use the SSL cert on the box, but not when I use the class one cert I just aquired. I found one thing I am doing wrong was trying to use the pfx file. I have converted it to a pem, but I now get an invalid arguement error. I am not sure where to go next.