The same certificate can be obtained by using

with the option
True:
A certificate that can be used to prove that

is composite:
The output is a list of 3 integers that indicate

is composite, and that it violates Fermat's little theorem for primes,

if
p is prime: