As a first view everything seems correct.

Are you able to run the standard StockListDemo (i.e. the html one) over SSL on your server?