api: Validate certificate serial only if serial is supplied
api: Validate certificate serial only if serial is supplied

plaes/certidude,laurivosandi/certidude,plaes/certidude,plaes/certidude,laurivosandi/certidude,plaes/certidude,laurivosandi/certidude,laurivosandi/certidude