Current limiting with MOSFET
Here is my basic idea. Please note that I don't normally design high voltage or high power electronics. And I am not even sure the OP is using PMOS. So just let this be a point of discussion rather than an endorsed solution. Note that dissipation in R4 needs to be considered. Also, @Autistic made that comment about hot-spotting.







simulate this circuit &ndash; Schematic created using CircuitLab