This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
I figured out how to fix it, in a different way. I added an alias in /etc/hosts for 127.0.0.1 as 'blah'. Then changed all references in my applicationContext-acegi.xml conf that used to refer to '127.0.0.1' (or localhost - neither permutation worked) to 'blah'. Regnerated my self-signed cert with CN=blah and it all works.