Added support for RAW certificates