double the key length of self-signed cert in ncat - #1310
Conversation
The default key length was 1024 bit, which leads to this error in a recent version of Debian Unstable (sid/buster): Ncat: SSL_CTX_use_certificate(): error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small. QUITTING.
|
Looks like it has been merged. Thx |
|
Nvm, I looked at the wrong branch |
Hi Adrian, |
|
You need to create your own self-signed certificate with a key that is at least 2048 bit and then pass that certificate to ncat using the Not sure what the status on this issue here is. According to the mailing list, they plan to merge it: https://seclists.org/nmap-dev/2018/q3/25 |
|
Hopefully this will be resolved by the end of the day. Stay tuned. |
|
Resolved in r37540. Thank you for contributing. @JJAlexion Even without recompiling ncat, you can work around the issue by adjusting the following line in to If you do not want to apply this change system-wide, you can clone the file and then use environment variable |
The default key length was 1024 bit, which leads to this error in a
recent version of Debian Unstable (sid/buster):
Ncat: SSL_CTX_use_certificate(): error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small. QUITTING.