The Op says, "Rubber gaskets against stainless".
I presume that is the
gasket that
seals the opening frame against the hull mounted fixed frame.
There are at least a billion different O-rings made from several materials and in sizes from microscopic to measured in feet, and of a wide variety of thicknesses.
Take one of the opening
parts to a company that deals in
seals, they will fix you up with something that will fit and won't leak.
Also, the above post about Dolphinite is spot on.
It truly is a product that anyone with a
boat should have a can on board.
It ain't just for
wood, hint, once you open it you want to make d#*n sure that the lid goes back on cleanly, and store the can upside down.