In Hiberheim, after the fight against the Mittlerin search the room - someone should have dropped a paper that has the password to the castle. You're actually almost done with Hiberheim, maybe check your inventory if you already picked up the document and just didn't read it.