opnsense-patch 67e4a1d
but the content in this part looks quite different (no try / catch section).
if (method_exists($ca_key, 'withPadding')) { $ca_key = $ca_key->withPadding(RSA::ENCRYPTION_PKCS1 | RSA::SIGNATURE_PKCS1); }