Manuel,
Yeah, that could definitely be part of the problem, but localhost setups should work just fine. The self-signed certificate may be problematic though for testing of some features and could complicate the login process.
If you still run into issues or need assistance with things, just let us know, especially when you move to a 'live' site.
Thanks, and good luck,
Alex