Add support for maxcerts