Skip to content

Specify keySize for selfsigned certs#1243

Open
mrxz wants to merge 1 commit intoHubs-Foundation:masterfrom
mrxz:patch-1
Open

Specify keySize for selfsigned certs#1243
mrxz wants to merge 1 commit intoHubs-Foundation:masterfrom
mrxz:patch-1

Conversation

@mrxz
Copy link
Copy Markdown

@mrxz mrxz commented Apr 23, 2022

The selfsigned library uses a default key size of 1024. Depending on the system's openssl configuration, this can lead to the following error, preventing Spoke from starting:

Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small

It's a known issue with selfsigned (see jfromaniello/selfsigned#33), but until they increase the default keySize, specifying it in the webpack.config.js file resolves this issue as well.

The 'selfsigned' library uses a default key size of 1024. Depending on the system's openssl configuration, this can lead to an 'key too small' error, preventing Spoke from starting. Specifying the keySize in the webpack.config.js resolves this issue.
Copy link
Copy Markdown
Contributor

@brianpeiris brianpeiris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants