Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
double the key length of self-signed cert in ncat #1310
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.
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
Resolved in r37540. Thank you for contributing.
@JJAlexion Even without recompiling ncat, you can work around the issue by adjusting the following line in
If you do not want to apply this change system-wide, you can clone the file and then use environment variable