40 degC doesn't sound catastrophic... but that's in free air, right?
You could try to make an estimate of the thermal resistance of your enclosure by fitting a resistor and a thermometer (like a thermocouple) where the module will go. If you apply a known power to the resistor and measure the temperature rise, you can work out the thermal resistance. Then, of course, if you know your expected power throughput and efficiency at that power, you can calculate what the temperature rise of the converter module should be. All a bit approximate, but better than nothing.
If you provide some more details of the application, maybe a sketch, then maybe people more experienced than I will be able to make some suggestions.
Of course, with no ventilation you will never actually see the smoke, so why worry?