Glue your gasket with this...
While contact cement & silicone will work to some extent, we have used something called "Zap-a-Dap-a-Goo" in the model airplane business whenever we need to glue difficult items together. It is also more commonly available as "Shoe-Goo", 'cuz it's great for glueing shoe soles back on! It sticks tenaciously to virtually anything, it dries clear (contact and rubber cements don't), stays pliable, its impervious to weather, oil, and model airplane glow fuel (in case you want to fly a seaplane off your boat!), and it can be pulled off (kinda difficult) if you ever want to change the weatherstrip! As an added bonus, you can even mold it with a wet finger before it dries. I promise you it won't hurt either the rubber OR the gelcoat!