Port to OpenSSL 3.0.0
Few API changes were necessary, fortunately.
Change NSS database type default in the tests to sql since dbm
support is dropped in recent versions.
Specify the PKCS#12 key and cipher parameters to be more compatible
between OpenSSL and NSS.