Get a serial of a certificate with openssl

openssl x509 -in "ca.crt" -noout -serial
The output value (after serial=) might be placed in ca.srl file