Hermetic sealing of openings, joints, passages or slits