fix(quic): ignore undefined cacertfile
This commit is contained in:
parent
89e15e9134
commit
22193d273a
|
@ -437,6 +437,10 @@ do_start_listener(quic, ListenerName, #{bind := Bind} = Opts) ->
|
||||||
case maps:get(cacertfile, SSLOpts, undefined) of
|
case maps:get(cacertfile, SSLOpts, undefined) of
|
||||||
undefined ->
|
undefined ->
|
||||||
[];
|
[];
|
||||||
|
<<>> ->
|
||||||
|
[];
|
||||||
|
"" ->
|
||||||
|
[];
|
||||||
CaCertFile ->
|
CaCertFile ->
|
||||||
[{cacertfile, emqx_schema:naive_env_interpolation(CaCertFile)}]
|
[{cacertfile, emqx_schema:naive_env_interpolation(CaCertFile)}]
|
||||||
end ++
|
end ++
|
||||||
|
|
Loading…
Reference in New Issue