Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenSSL difference between v3_req and req_ext

What is the difference between the two OpenSSL extensions v3_req and req_ext ?

Not able to obtain information about them using online search.

Configuration directives:

[ req ]
default_bits        = 2048
#req_extensions      = req_ext
req_extensions      = v3_req
like image 506
Daniel W. Avatar asked Jul 17 '26 03:07

Daniel W.


1 Answers

These are simply names that refer to sections that need to be defined in the same config file. The sections are marked with [ and ]. v3_req is defined in the OpenSSL config file as:

[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment

The commented out line is not found in the official OpenSSL config file. It was probably left there as placeholder to indicate how one would set an extension.

like image 176
mnistic Avatar answered Jul 21 '26 22:07

mnistic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!