Added the certificate_authority and certificate modules, to install CAs and certs, respectively.
Unfortunately, this release isn't as useful as I had hoped: while TrueNAS supports creating CAs and certs in the console using a variety of parameters, it's not clear how this ought to work with Ansible, especially since it's not possible to modify a cert after it's been created, the way you can a file. So right now, these modules only allow you to upload existing certs. Use your existing PKI to generate certs, then use these modules to install them.
More serious, though, is the fact that there appears to be a bug in TrueNAS SCALE 25.04 that limits the size of midclt requests. The practical upshot is that the only certs whose private key is 2048 bits long are supported. This applies to both CAs and certs.
This does not affect TrueNAS CORE.