|
|
@@ -16,14 +16,14 @@ auth.http.auth_req.method = post
|
|
|
|
|
|
## HTTP Request Headers for Auth Request, Content-Type header is configured by default.
|
|
|
## The possible values of the Content-Type header: application/x-www-form-urlencoded, application/json
|
|
|
-##
|
|
|
+##
|
|
|
## Examples: auth.http.auth_req.headers.accept = */*
|
|
|
auth.http.auth_req.headers.content-type = application/x-www-form-urlencoded
|
|
|
|
|
|
## Parameters used to construct the request body or query string parameters
|
|
|
## When the request method is GET, these parameters will be converted into query string parameters
|
|
|
## When the request method is POST, the final format is determined by content-type
|
|
|
-##
|
|
|
+##
|
|
|
## Available Variables:
|
|
|
## - %u: username
|
|
|
## - %c: clientid
|
|
|
@@ -58,7 +58,7 @@ auth.http.super_req.headers.content-type = application/x-www-form-urlencoded
|
|
|
## Parameters used to construct the request body or query string parameters
|
|
|
## When the request method is GET, these parameters will be converted into query string parameters
|
|
|
## When the request method is POST, the final format is determined by content-type
|
|
|
-##
|
|
|
+##
|
|
|
## Available Variables:
|
|
|
## - %u: username
|
|
|
## - %c: clientid
|
|
|
@@ -93,7 +93,7 @@ auth.http.acl_req.headers.content-type = application/x-www-form-urlencoded
|
|
|
## Parameters used to construct the request body or query string parameters
|
|
|
## When the request method is GET, these parameters will be converted into query string parameters
|
|
|
## When the request method is POST, the final format is determined by content-type
|
|
|
-##
|
|
|
+##
|
|
|
## Available Variables:
|
|
|
## - %u: username
|
|
|
## - %c: clientid
|
|
|
@@ -117,7 +117,7 @@ auth.http.acl_req.params = access=%A,username=%u,clientid=%c,ipaddr=%a,topic=%t,
|
|
|
## Default: 5s
|
|
|
auth.http.timeout = 5s
|
|
|
|
|
|
-## Connection time-out time, used during the initial request,
|
|
|
+## Connection time-out time, used during the initial request,
|
|
|
## when the client is connecting to the server.
|
|
|
##
|
|
|
## Value: Duration
|
|
|
@@ -151,3 +151,18 @@ auth.http.pool_size = 32
|
|
|
##
|
|
|
## Value: File
|
|
|
## auth.http.ssl.keyfile = {{ platform_etc_dir }}/certs/client-key.pem
|
|
|
+
|
|
|
+## In mode verify_none the default behavior is to allow all x509-path
|
|
|
+## validation errors.
|
|
|
+##
|
|
|
+## Value: true | false
|
|
|
+## auth.http.ssl.verify = false
|
|
|
+
|
|
|
+## If not specified, the server's names returned in server's certificate is validated against
|
|
|
+## what's provided `auth.http.auth_req.url` config's host part.
|
|
|
+## Setting to 'disable' will make EMQ X ignore unmatched server names.
|
|
|
+## If set with a host name, the server's names returned in server's certificate is validated
|
|
|
+## against this value.
|
|
|
+##
|
|
|
+## Value: String | disable
|
|
|
+## auth.http.ssl.server_name_indication = disable
|