on distros with openssl 3, the .srl files don't appear to be created.
don't fail if 'rm' can't find them
Fixes: https://tracker.ceph.com/issues/58513
Signed-off-by: Casey Bodley <cbodley@redhat.com>
csr = f'{self.cadir}/{cert.name}.csr'
srl = f'{self.cadir}/{ca_cert.name}.srl'
- remove_files = ['rm', csr, srl]
+ remove_files = ['rm', '-f', csr, srl]
# these commands are run on the ca certificate's client because
# they need access to its private key and cert