GRST_MAX_CHAIN_LEN removed, dynamically allocate array of certs. Fix
GGUS ticket 96661.