Enabling SSL_CTX configuration by using SSL_CONF_cmd().
To perform various configuration operations on SSL_CTX, OpenSSL provides SSL_CONF_cmd(). Specifically, to configure ciphers for a listener, "CipherString" and "Ciphersuites" file commands are used: https://www.openssl.org/docs/man1.1.1/man3/SSL_CONF_cmd.html This feature can be configured in the "tls/conf_commands" section.
This commit is contained in:
14
auto/ssltls
14
auto/ssltls
@@ -52,6 +52,20 @@ if [ $NXT_OPENSSL = YES ]; then
|
||||
$echo
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
|
||||
nxt_feature="OpenSSL SSL_CONF_cmd()"
|
||||
nxt_feature_name=NXT_HAVE_OPENSSL_CONF_CMD
|
||||
nxt_feature_run=
|
||||
nxt_feature_incs=
|
||||
nxt_feature_libs="$NXT_OPENSSL_LIBS"
|
||||
nxt_feature_test="#include <openssl/ssl.h>
|
||||
|
||||
int main() {
|
||||
SSL_CONF_cmd(NULL, NULL, NULL);
|
||||
return 0;
|
||||
}"
|
||||
. auto/feature
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user