On the detail: two vials tested from a lot of ten is very different from two vials tested from a lot of ten thousand, and most certificates do not state the lot size.
The sample size determination requires choosing a confidence level and an acceptable error rate, and the smaller the error rate you want, the larger your sample must be.
Concretely, if you have reason to suspect inhomogeneity — different appearance in different vials, or a long or warm shipment — testing more vials is the diagnostic move.
Published data on lot homogeneity from manufacturers who sample multiple vials consistently find variation below the published specifications, suggesting the sampling plans work.
Assume segregation is possible, and design your sampling to catch it if it exists.