Printed with PETG, but flexible materials might work better.
See original: https://www.printables.com/model/579161-simple-end-cap-to-over-the-open-end-of-12-inch-con
The author remixed this model.
Added a version for 20mm conduit.