Skip to content

createCSR() doesn't honour --extended-key-usage #6898

@dekeonus

Description

@dekeonus

In createCSR() the call to _createcsr doesn't have the positional parameter set for "extusage" (parameter 7)

acme.sh/acme.sh

Line 1615 in 563415d

_createcsr "$domain" "$domainlist" "$CERT_KEY_PATH" "$CSR_PATH" "$DOMAIN_SSL_CONF"

it would need something like "" "$_createCSR_var_for_eku" appended

the CMD invocation at

acme.sh/acme.sh

Lines 8256 to 8257 in 563415d

createCSR)
createCSR "$_domain" "$_altdomains" "$_ecc"

would need to include "$_extended_key_usage" and the createCSR() function would need to handle that parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions