OpenSSL: add keyUsage extension in CA config#6017
OpenSSL: add keyUsage extension in CA config#6017AdSchellevis merged 1 commit intoopnsense:masterfrom
Conversation
|
@kulikov-a thanks, I think this would be a good addition indeed, since this only affects new CA's I don't think this has a very high impact, as this seems to be the advised setting anyway. Looking at https://openssl-ca.readthedocs.io/en/latest/intermediate-configuration-file.html and some other references, apparently the basicConstraints should append critical too ( |
|
@AdSchellevis Thanks! |
|
@kulikov-a I read the same note as well, no clue if this is still relevant to be honest, but let's keep it as is for now until someone opens a ticket. |
|
@AdSchellevis yep, a comment googling shows that such a line appeared in the configurations a very long time ago (16! years ago? https://community.oracle.com/tech/developers/discussion/comment/6431917/#Comment_6431917 ) and is still found in many templates ) |
|
@kulikov-a I'm not surprised, if we are going to change defaults anyway, we might as well change this one while there. |
|
@AdSchellevis yes, i would change it now if we try to follow the rfc in other places anyway and there are no reasoned objections. should i make a pr for this? |
|
@kulikov-a yes please :) |
see https://www.rfc-editor.org/rfc/rfc5280.html#section-4.2.1.3 (cherry picked from commit 7a06f38)
Hi!
ref. and hopefully closes #5912
Thanks!