I've been digging into Self-Hosted password solutions lately, the most mature looking I've found was Pleasant Password Server. I haven't tested it yet, it's next on the List. Does anyone have experience with it?
At home where it's just me using the passwords across a couple of devices I just use KeePass with the database stored on dropbox.