Use the butyl rope seal they use for windshields. Take some out and roll it in your hands to about 1/8-3/16" diameter and press it all around the case lip. Bolt up and go. Be sure and dont leave any gaps and go around the outside of bolt holes and keep it continuous
and it will work fine.
PS- clean all evidence of old goop really well and properly degrease for a good seal. Like wipe it down with alcohol on both surfaces.