Fix style issues for https://github.com/opnsense/core/pull/3768 and make sure openssl_pkey_get_private using the correct params (https://www.php.net/manual/en/function.openssl-pkey-get-private.php).
Fix style issues for https://github.com/opnsense/core/pull/3768 and make sure openssl_pkey_get_private using the correct params (https://www.php.net/manual/en/function.openssl-pkey-get-private.php).

opnsense/core,opnsense/core,opnsense/core,opnsense/core,opnsense/core,opnsense/core