DIN rail caps by Joel61 on Thingiverse: https://www.thingiverse.com/thing:5022109

Summary:
Make sure to print on the side to avoid supports.This is based off of Christian P's design.Also please be aware every DIN rail is slightly different, so you may need to modify them to fit your rails