Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-ca: Command 'req', remove SSL option '-keyout' #1123

Merged
merged 2 commits into from
Apr 17, 2024

Commits on Apr 14, 2024

  1. build-ca: Command 'req', remove SSL option '-keyout'

    OpenSSL command 'req', option '-keyout' behaves differently between OpenSSL
    v3.x verses v1.x
    
    When the private key is encrypted:
    - v1.x ignores '-keyout' and does not create a new key.
    - v3.x creates a new key with different parameters to the original key.
    
    v3.x creates the original key, encrypted by AES-256-CBC; then creates
    the unnecessary, secondary key, encrypted by DES-EDE3-CBC.
    
    Because EasyRSA has already generated the private key, the 'req' command
    must not generate a secondary key.
    
    Signed-off-by: Richard T Bonhomme <[email protected]>
    TinCanTech committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    4e02c8a View commit details
    Browse the repository at this point in the history
  2. ChangeLog: build-ca: Command 'req', remove SSL option '-keyout'

    Signed-off-by: Richard T Bonhomme <[email protected]>
    TinCanTech committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    2b22c19 View commit details
    Browse the repository at this point in the history