I was using v3.2rc1 and it was working just fine. Updated to 3.2.1 and all my secure pages gave a 404 error. This was true for all the pages where I had explicitly checked the secure option. If I entered the URL in the settings, then it would work (except I can't do that for all my secure pages in my deployment scenario).
I have now reverted to 3.2rc1.