What OpenSSL command will generate a selfsigned test certificate?

What OpenSSL command will generate a selfsigned test certificate?

What OpenSSL command will generate a selfsigned test certificate?

A.
openssl req x509 key privkey.pem out cacert.pem days 365

B.
openssl sign key privkey.pem out cacert.pem days 365

C.
openssl req key privkey.pem out cacert.pem days 365

D.
openssl sign new x509 key privkey.pem out cacert.pem days 365



Leave a Reply 2

Your email address will not be published. Required fields are marked *


seenagape

seenagape

Correct answer is

fin

fin

“new” is missing and hyphen for options

Correctly
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 365