Renamed certType to keystoreType