(This is a clone of
ECA-5025 to implement a proper fix)
The problem is that statedump fails to import dumps if certain strange Subject DNs are present. Perhaps not very likely to happen in production systems, but it prevents the test from running if you have this CA on your development system. So a fix was needed.
For example, this CN: